X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2Fincludes%2Fimport%2FImportTest.php;h=7bb03db87e3591517b52a4bcd85a311fc0843855;hb=255d76f2a13a8378ded9f0cf1c2bb172f7f07a5b;hp=347d0fc77b377aafe8e594ef1d26f5b2ed94cb0d;hpb=75160bdd3b4ac3642d147cda46e47c809999937d;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/import/ImportTest.php b/tests/phpunit/includes/import/ImportTest.php index 347d0fc77b..7bb03db87e 100644 --- a/tests/phpunit/includes/import/ImportTest.php +++ b/tests/phpunit/includes/import/ImportTest.php @@ -37,7 +37,7 @@ class ImportTest extends MediaWikiLangTestCase { } public function getUnknownTagsXML() { - // @codingStandardsIgnoreStart Generic.Files.LineLength + // phpcs:disable Generic.Files.LineLength return [ [ <<< EOF @@ -71,7 +71,7 @@ EOF 'TestImportPage' ] ]; - // @codingStandardsIgnoreEnd + // phpcs:enable } /** @@ -102,7 +102,7 @@ EOF } public function getRedirectXML() { - // @codingStandardsIgnoreStart Generic.Files.LineLength + // phpcs:disable Generic.Files.LineLength return [ [ <<< EOF @@ -157,7 +157,7 @@ EOF null ], ]; - // @codingStandardsIgnoreEnd + // phpcs:enable } /** @@ -185,7 +185,7 @@ EOF } public function getSiteInfoXML() { - // @codingStandardsIgnoreStart Generic.Files.LineLength + // phpcs:disable Generic.Files.LineLength return [ [ <<< EOF @@ -217,7 +217,7 @@ EOF ] ], ]; - // @codingStandardsIgnoreEnd + // phpcs:enable } /** @@ -248,7 +248,7 @@ EOF $n = ( $assign ? 1 : 0 ) + ( $create ? 2 : 0 ); - // @codingStandardsIgnoreStart Generic.Files.LineLength + // phpcs:disable Generic.Files.LineLength $source = $this->getDataSource( << @@ -283,7 +283,7 @@ EOF EOF ); - // @codingStandardsIgnoreEnd + // phpcs:enable $importer = new WikiImporter( $source, MediaWikiServices::getInstance()->getMainConfig() ); $importer->setUsernamePrefix( 'Xxx', $assign );