dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ability to override mb_strtoupper in Language::ucfirst
[lhc/web/wiklou.git]
/
maintenance
/
benchmarks
/
benchmarkJSMinPlus.php
diff --git
a/maintenance/benchmarks/benchmarkJSMinPlus.php
b/maintenance/benchmarks/benchmarkJSMinPlus.php
index
dc92516
..
3aa7af7
100644
(file)
--- a/
maintenance/benchmarks/benchmarkJSMinPlus.php
+++ b/
maintenance/benchmarks/benchmarkJSMinPlus.php
@@
-37,11
+37,11
@@
class BenchmarkJSMinPlus extends Benchmarker {
}
public function execute() {
}
public function execute() {
-
MediaWiki
\suppressWarnings();
+
Wikimedia
\suppressWarnings();
$content = file_get_contents( $this->getOption( 'file' ) );
$content = file_get_contents( $this->getOption( 'file' ) );
-
MediaWiki
\restoreWarnings();
+
Wikimedia
\restoreWarnings();
if ( $content === false ) {
if ( $content === false ) {
- $this->
error( 'Unable to open input file', 1
);
+ $this->
fatalError( 'Unable to open input file'
);
}
$filename = basename( $this->getOption( 'file' ) );
}
$filename = basename( $this->getOption( 'file' ) );
@@
-58,5
+58,5
@@
class BenchmarkJSMinPlus extends Benchmarker {
}
}
}
}
-$maintClass =
'BenchmarkJSMinPlus'
;
+$maintClass =
BenchmarkJSMinPlus::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;