Use wikimedia/at-ease insteaad of @
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Sun, 27 Dec 2015 20:36:18 +0000 (21:36 +0100)
committerFlorian <florian.schmidt.stargatewissen@gmail.com>
Sun, 27 Dec 2015 20:51:16 +0000 (21:51 +0100)
Change-Id: Icba412dd5db11b596ad1cf740b8408823297bc86

tests/phpunit/phpunit.php

index 5f43ef5..09dc931 100755 (executable)
@@ -260,9 +260,9 @@ if ( class_exists( 'PHPUnit_TextUI_Command' ) ) {
                        continue;
                }
 
-               // @codingStandardsIgnoreStart
-               @include_once $includePath;
-               // @codingStandardsIgnoreEnd
+               \MediaWiki\suppressWarnings();
+               include_once $includePath;
+               \MediaWiki\restoreWarnings();
                if ( class_exists( 'PHPUnit_TextUI_Command' ) ) {
                        $ok = true;
                        echo "Using PHPUnit from $includePath\n";