Add @codingStandardsIgnoreStart to pass phpcs in 2 files in tests/phpunit/includes
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Wed, 30 Sep 2015 08:14:49 +0000 (11:14 +0300)
committerUmherirrender <umherirrender_de.wp@web.de>
Thu, 1 Oct 2015 18:45:28 +0000 (18:45 +0000)
Change-Id: I7f551dafcf437cc23aa9aed24f9e4d385816a0a0

tests/phpunit/includes/content/JavaScriptContentTest.php
tests/phpunit/includes/utils/MWCryptHKDFTest.php

index 898fa53..fec1c73 100644 (file)
@@ -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
                );
        }
 
index 73e4c1a..2c51af3 100644 (file)
@@ -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
        }