X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fstructure%2FAutoLoaderTest.php;h=8674329af20d0f2cfcc25adef5618aab5c2a3373;hb=c4c1d277ee138892b7117800a4b88dfca25e3d24;hp=cde6547a6996999a2ada4079803b82f2d9d43873;hpb=f6d852f6e98cd3fd89a0fffddafa19345d970a3b;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/structure/AutoLoaderTest.php b/tests/phpunit/structure/AutoLoaderTest.php index cde6547a69..8674329af2 100644 --- a/tests/phpunit/structure/AutoLoaderTest.php +++ b/tests/phpunit/structure/AutoLoaderTest.php @@ -58,9 +58,9 @@ class AutoLoaderTest extends MediaWikiTestCase { continue; } - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); $contents = file_get_contents( $filePath ); - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); if ( $contents === false ) { $actual[$class] = "[couldn't read file '$filePath']";