From c369defa97a2fc64d33de277662ee0fd49d0c151 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Wed, 30 Sep 2015 11:14:49 +0300 Subject: [PATCH] Add @codingStandardsIgnoreStart to pass phpcs in 2 files in tests/phpunit/includes Change-Id: I7f551dafcf437cc23aa9aed24f9e4d385816a0a0 --- tests/phpunit/includes/content/JavaScriptContentTest.php | 3 +++ tests/phpunit/includes/utils/MWCryptHKDFTest.php | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/includes/content/JavaScriptContentTest.php b/tests/phpunit/includes/content/JavaScriptContentTest.php index 898fa5362a..fec1c73adb 100644 --- a/tests/phpunit/includes/content/JavaScriptContentTest.php +++ b/tests/phpunit/includes/content/JavaScriptContentTest.php @@ -272,10 +272,13 @@ class JavaScriptContentTest extends TextContentTest { '#REDIRECT [[Someplace]]', '#REDIRECT [[Someplace]]', ), + + // @codingStandardsIgnoreStart Generic.Files.LineLength array( '/* #REDIRECT */mw.loader.load("//example.org/w/index.php?title=MediaWiki:MonoBook.js\u0026action=raw\u0026ctype=text/javascript");', '/* #REDIRECT */mw.loader.load("//example.org/w/index.php?title=TestUpdateRedirect_target\u0026action=raw\u0026ctype=text/javascript");' ) + // @codingStandardsIgnoreEnd ); } diff --git a/tests/phpunit/includes/utils/MWCryptHKDFTest.php b/tests/phpunit/includes/utils/MWCryptHKDFTest.php index 73e4c1a909..2c51af3ce9 100644 --- a/tests/phpunit/includes/utils/MWCryptHKDFTest.php +++ b/tests/phpunit/includes/utils/MWCryptHKDFTest.php @@ -41,6 +41,7 @@ class MWCryptHKDFTest extends MediaWikiTestCase { */ public static function providerRfc5869() { + // @codingStandardsIgnoreStart Generic.Files.LineLength return array( // A.1 array( 'sha256', @@ -88,7 +89,7 @@ class MWCryptHKDFTest extends MediaWikiTestCase { '0bd770a74d1160f7c9f12cd5912a06ebff6adcae899d92191fe4305673ba2ffe8fa3f1a4e5ad79f3f334b3b202b2173c486ea37ce3d397ed034c7f9dfeb15c5e927336d0441f4c4300e2cff0d0900b52d3b4' // okm ), ); - + // @codingStandardsIgnoreEnd } -- 2.20.1