Add @since tags to come MediaWikiTestCase methods
authoraddshore <addshorewiki@gmail.com>
Thu, 14 Jun 2018 07:46:18 +0000 (08:46 +0100)
committeraddshore <addshorewiki@gmail.com>
Thu, 14 Jun 2018 07:46:18 +0000 (08:46 +0100)
Follow up to:
 - I86e140ec981dfa4e904822b1600399c533f9e3d6 /
 e4b775acf113d021ce35f69a177d7444b8ed8412

Change-Id: Ib45f8ba30dfd382318dd87bc232a529c47c9a307

tests/phpunit/MediaWikiTestCase.php

index ce75606..de1dbfd 100644 (file)
@@ -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