From: Amir E. Aharoni Date: Wed, 30 Sep 2015 08:14:49 +0000 (+0300) Subject: Add @codingStandardsIgnoreStart to pass phpcs in 2 files in tests/phpunit/includes X-Git-Tag: 1.31.0-rc.0~9609 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=c369defa97a2fc64d33de277662ee0fd49d0c151;p=lhc%2Fweb%2Fwiklou.git Add @codingStandardsIgnoreStart to pass phpcs in 2 files in tests/phpunit/includes Change-Id: I7f551dafcf437cc23aa9aed24f9e4d385816a0a0 --- 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 }