From: addshore Date: Thu, 14 Jun 2018 07:46:18 +0000 (+0100) Subject: Add @since tags to come MediaWikiTestCase methods X-Git-Tag: 1.34.0-rc.0~5070^2 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=129c992ff162ccd288cb92aba34ae80e8beef9c9;p=lhc%2Fweb%2Fwiklou.git Add @since tags to come MediaWikiTestCase methods Follow up to: - I86e140ec981dfa4e904822b1600399c533f9e3d6 / e4b775acf113d021ce35f69a177d7444b8ed8412 Change-Id: Ib45f8ba30dfd382318dd87bc232a529c47c9a307 --- 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