X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fcommon%2FTestsAutoLoader.php;h=82149b3737761f2943b1985c193c92306dd6d81d;hp=44868b30d6b7186760f1e8690f6ecf33a9a60143;hb=74426f3cf796b149f1ae445e41815bbe148640b2;hpb=83fa039593d5c2bfd624af3b88ade93a447ec770 diff --git a/tests/common/TestsAutoLoader.php b/tests/common/TestsAutoLoader.php index 44868b30d6..82149b3737 100644 --- a/tests/common/TestsAutoLoader.php +++ b/tests/common/TestsAutoLoader.php @@ -24,7 +24,7 @@ global $wgAutoloadClasses; $testDir = __DIR__ . "/.."; -// @codingStandardsIgnoreStart Generic.Files.LineLength.TooLong +// phpcs:disable Generic.Files.LineLength $wgAutoloadClasses += [ # tests/common @@ -62,6 +62,7 @@ $wgAutoloadClasses += [ 'TestUser' => "$testDir/phpunit/includes/TestUser.php", 'TestUserRegistry' => "$testDir/phpunit/includes/TestUserRegistry.php", 'LessFileCompilationTest' => "$testDir/phpunit/LessFileCompilationTest.php", + 'MediaWikiCoversValidator' => "$testDir/phpunit/MediaWikiCoversValidator.php", # tests/phpunit/includes 'RevisionDbTestBase' => "$testDir/phpunit/includes/RevisionDbTestBase.php", @@ -149,7 +150,8 @@ $wgAutoloadClasses += [ 'GenericArrayObjectTest' => "$testDir/phpunit/includes/libs/GenericArrayObjectTest.php", # tests/phpunit/maintenance - 'DumpTestCase' => "$testDir/phpunit/maintenance/DumpTestCase.php", + 'MediaWiki\Tests\Maintenance\DumpTestCase' => "$testDir/phpunit/maintenance/DumpTestCase.php", + 'MediaWiki\Tests\Maintenance\MaintenanceBaseTestCase' => "$testDir/phpunit/maintenance/MaintenanceBaseTestCase.php", # tests/phpunit/media 'FakeDimensionFile' => "$testDir/phpunit/includes/media/FakeDimensionFile.php", @@ -174,4 +176,4 @@ $wgAutoloadClasses += [ 'ParserTestFileSuite' => "$testDir/phpunit/suites/ParserTestFileSuite.php", 'ParserTestTopLevelSuite' => "$testDir/phpunit/suites/ParserTestTopLevelSuite.php", ]; -// @codingStandardsIgnoreEnd +// phpcs:enable