From 129c992ff162ccd288cb92aba34ae80e8beef9c9 Mon Sep 17 00:00:00 2001 From: addshore Date: Thu, 14 Jun 2018 08:46:18 +0100 Subject: [PATCH] Add @since tags to come MediaWikiTestCase methods Follow up to: - I86e140ec981dfa4e904822b1600399c533f9e3d6 / e4b775acf113d021ce35f69a177d7444b8ed8412 Change-Id: Ib45f8ba30dfd382318dd87bc232a529c47c9a307 --- tests/phpunit/MediaWikiTestCase.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/phpunit/MediaWikiTestCase.php b/tests/phpunit/MediaWikiTestCase.php index ce75606cac..de1dbfd202 100644 --- a/tests/phpunit/MediaWikiTestCase.php +++ b/tests/phpunit/MediaWikiTestCase.php @@ -181,6 +181,8 @@ abstract class MediaWikiTestCase extends PHPUnit\Framework\TestCase { /** * Returns a WikiPage representing an existing page. * + * @since 1.32 + * * @param Title|string|null $title * @return WikiPage * @throws MWException @@ -207,6 +209,8 @@ abstract class MediaWikiTestCase extends PHPUnit\Framework\TestCase { /** * Returns a WikiPage representing a non-existing page. * + * @since 1.32 + * * @param Title|string|null $title * @return WikiPage * @throws MWException @@ -1126,6 +1130,9 @@ abstract class MediaWikiTestCase extends PHPUnit\Framework\TestCase { public function addDBData() { } + /** + * @since 1.32 + */ protected function addCoreDBData() { if ( $this->db->getType() == 'oracle' ) { # Insert 0 user to prevent FK violations -- 2.20.1