From 9359cfffd40ffaa022d6c2b745c74a998bcce640 Mon Sep 17 00:00:00 2001 From: Vivek Ghaisas Date: Sat, 20 Jun 2015 23:55:06 +0300 Subject: [PATCH] tests/phpunit/phpunit.php: Add @codingStandardsIgnore comment MediaWiki Codesniffer warns that "Silencing errors is discouraged". Assuming this was done with good reason, this patch surrounds the offending line with comments asking codesniffer to ignore the line. Ironically, silencing errors about silencing errors. Change-Id: Ib811b03b0a53735ce0da38bc8861ff38f9d1a666 --- tests/phpunit/phpunit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/phpunit/phpunit.php b/tests/phpunit/phpunit.php index d18ab73917..34e3fb410d 100755 --- a/tests/phpunit/phpunit.php +++ b/tests/phpunit/phpunit.php @@ -220,7 +220,9 @@ foreach ( array( 'PHPUnit/Runner/Version.php', 'PHPUnit/Autoload.php' ) as $includePath ) { + // @codingStandardsIgnoreStart @include_once $includePath; + // @codingStandardsIgnoreEnd if ( class_exists( 'PHPUnit_TextUI_Command' ) ) { $ok = true; break; -- 2.20.1