Merge "build: Upgrade grunt-banana-checker to v0.3.0"
[lhc/web/wiklou.git] / maintenance / jsparse.php
index 3f0a9ba..fddfc02 100644 (file)
@@ -47,9 +47,9 @@ class JSParseHelper extends Maintenance {
 
                $parser = new JSParser();
                foreach ( $files as $filename ) {
-                       wfSuppressWarnings();
+                       MediaWiki\suppressWarnings();
                        $js = file_get_contents( $filename );
-                       wfRestoreWarnings();
+                       MediaWiki\restoreWarnings();
                        if ( $js === false ) {
                                $this->output( "$filename ERROR: could not read file\n" );
                                $this->errs++;