}
public function execute() {
- MediaWiki\suppressWarnings();
+ Wikimedia\suppressWarnings();
$content = file_get_contents( $this->getOption( 'file' ) );
- MediaWiki\restoreWarnings();
+ Wikimedia\restoreWarnings();
if ( $content === false ) {
$this->fatalError( 'Unable to open input file' );
}
}
}
-$maintClass = 'BenchmarkJSMinPlus';
+$maintClass = BenchmarkJSMinPlus::class;
require_once RUN_MAINTENANCE_IF_MAIN;