X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fshell%2FCommand.php;h=1936d000fc42cb2dbd115479b8397fd510282dad;hp=d504611f7d44a2de229e7fa34bcdde7cf948ff57;hb=daf15e14ab481e9b8811bc825bb448df5ec80421;hpb=893b698e3a03052af49779cc661b297cf27fd6e3 diff --git a/includes/shell/Command.php b/includes/shell/Command.php index d504611f7d..1936d000fc 100644 --- a/includes/shell/Command.php +++ b/includes/shell/Command.php @@ -433,9 +433,9 @@ class Command { // TODO replace with clear_last_error when requirements are bumped to PHP7 set_error_handler( function () { }, 0 ); - \MediaWiki\suppressWarnings(); + \Wikimedia\suppressWarnings(); trigger_error( '' ); - \MediaWiki\restoreWarnings(); + \Wikimedia\restoreWarnings(); restore_error_handler(); $readPipes = array_filter( $pipes, function ( $fd ) use ( $desc ) {