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
'PHPUnit/Runner/Version.php',
'PHPUnit/Autoload.php'
) as $includePath ) {
+ // @codingStandardsIgnoreStart
@include_once $includePath;
+ // @codingStandardsIgnoreEnd
if ( class_exists( 'PHPUnit_TextUI_Command' ) ) {
$ok = true;
break;