From: Umherirrender Date: Sun, 28 Jan 2018 12:30:07 +0000 (+0100) Subject: Move @group and @covers tags in tests close to class X-Git-Tag: 1.31.0-rc.0~753^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=67d420b3028fe9d66e6b47b5c5f5e93edc6fb80f;p=lhc%2Fweb%2Fwiklou.git Move @group and @covers tags in tests close to class For @group and @covers tags there should be no newline between the comment and the class Change-Id: I7277df13a332cf4d74ffdd8748e3fbdc259610dc --- diff --git a/tests/phpunit/includes/LinkerTest.php b/tests/phpunit/includes/LinkerTest.php index 7f42254102..f9e2cc1733 100644 --- a/tests/phpunit/includes/LinkerTest.php +++ b/tests/phpunit/includes/LinkerTest.php @@ -5,7 +5,6 @@ use MediaWiki\MediaWikiServices; /** * @group Database */ - class LinkerTest extends MediaWikiLangTestCase { /** diff --git a/tests/phpunit/includes/WikiReferenceTest.php b/tests/phpunit/includes/WikiReferenceTest.php index 227dd87da5..dc2e9ae412 100644 --- a/tests/phpunit/includes/WikiReferenceTest.php +++ b/tests/phpunit/includes/WikiReferenceTest.php @@ -3,7 +3,6 @@ /** * @covers WikiReference */ - class WikiReferenceTest extends PHPUnit_Framework_TestCase { use MediaWikiCoversValidator; diff --git a/tests/phpunit/includes/installer/OracleInstallerTest.php b/tests/phpunit/includes/installer/OracleInstallerTest.php index bd1412ebc1..2811a9cf41 100644 --- a/tests/phpunit/includes/installer/OracleInstallerTest.php +++ b/tests/phpunit/includes/installer/OracleInstallerTest.php @@ -6,7 +6,6 @@ * @group Database * @group Installer */ - class OracleInstallerTest extends MediaWikiTestCase { /** diff --git a/tests/phpunit/includes/libs/ArrayUtilsTest.php b/tests/phpunit/includes/libs/ArrayUtilsTest.php index 76b4ee17be..88312657d4 100644 --- a/tests/phpunit/includes/libs/ArrayUtilsTest.php +++ b/tests/phpunit/includes/libs/ArrayUtilsTest.php @@ -4,7 +4,6 @@ * * @group Database */ - class ArrayUtilsTest extends PHPUnit_Framework_TestCase { use MediaWikiCoversValidator; diff --git a/tests/phpunit/includes/libs/IPTest.php b/tests/phpunit/includes/libs/IPTest.php index 8a120eaab0..a36b259300 100644 --- a/tests/phpunit/includes/libs/IPTest.php +++ b/tests/phpunit/includes/libs/IPTest.php @@ -8,7 +8,6 @@ * @todo Test methods in this call should be split into a method and a * dataprovider. */ - class IPTest extends PHPUnit_Framework_TestCase { use MediaWikiCoversValidator; diff --git a/tests/phpunit/includes/skins/SkinTemplateTest.php b/tests/phpunit/includes/skins/SkinTemplateTest.php index 5b3fbfac89..06b0667738 100644 --- a/tests/phpunit/includes/skins/SkinTemplateTest.php +++ b/tests/phpunit/includes/skins/SkinTemplateTest.php @@ -7,7 +7,6 @@ * * @author Bene* < benestar.wikimedia@gmail.com > */ - class SkinTemplateTest extends MediaWikiTestCase { /** * @dataProvider makeListItemProvider diff --git a/tests/phpunit/includes/specials/ImageListPagerTest.php b/tests/phpunit/includes/specials/ImageListPagerTest.php index 22bdefdff3..10c6d04c9e 100644 --- a/tests/phpunit/includes/specials/ImageListPagerTest.php +++ b/tests/phpunit/includes/specials/ImageListPagerTest.php @@ -8,7 +8,6 @@ * * @group Database */ - class ImageListPagerTest extends MediaWikiTestCase { /** * @expectedException MWException