aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiComparePagesTest.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2018-01-01 14:10:16 +0100
committerUmherirrender <umherirrender_de.wp@web.de>2018-01-01 14:10:16 +0100
commit255d76f2a13a8378ded9f0cf1c2bb172f7f07a5b (patch)
treedf77c421492520f435b47339436eec0b5c20ca56 /tests/phpunit/includes/api/ApiComparePagesTest.php
parent75160bdd3b4ac3642d147cda46e47c809999937d (diff)
downloadmediawikicore-255d76f2a13a8378ded9f0cf1c2bb172f7f07a5b.tar.gz
mediawikicore-255d76f2a13a8378ded9f0cf1c2bb172f7f07a5b.zip
build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Clean up use of @codingStandardsIgnore - @codingStandardsIgnoreFile -> phpcs:ignoreFile - @codingStandardsIgnoreLine -> phpcs:ignore - @codingStandardsIgnoreStart -> phpcs:disable - @codingStandardsIgnoreEnd -> phpcs:enable For phpcs:disable always the necessary sniffs are provided. Some start/end pairs are changed to line ignore Change-Id: I92ef235849bcc349c69e53504e664a155dd162c8
Diffstat (limited to 'tests/phpunit/includes/api/ApiComparePagesTest.php')
-rw-r--r--tests/phpunit/includes/api/ApiComparePagesTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/phpunit/includes/api/ApiComparePagesTest.php b/tests/phpunit/includes/api/ApiComparePagesTest.php
index 9399ef8ea851..155a08ed0611 100644
--- a/tests/phpunit/includes/api/ApiComparePagesTest.php
+++ b/tests/phpunit/includes/api/ApiComparePagesTest.php
@@ -151,8 +151,8 @@ class ApiComparePagesTest extends ApiTestCase {
}
public static function provideDiff() {
+ // phpcs:disable Generic.Files.LineLength.TooLong
return [
- // @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong
'Basic diff, titles' => [
[
'fromtitle' => 'ApiComparePagesTest A',
@@ -604,8 +604,7 @@ class ApiComparePagesTest extends ApiTestCase {
[],
'missingcontent'
],
-
- // @codingStandardsIgnoreEnd
];
+ // phpcs:enable
}
}