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
Merge "HTMLInfoField: Support 'rawrow' in OOUI mode"
[lhc/web/wiklou.git]
/
maintenance
/
benchmarks
/
benchmarkParse.php
diff --git
a/maintenance/benchmarks/benchmarkParse.php
b/maintenance/benchmarks/benchmarkParse.php
index
1753250
..
3a79ad3
100644
(file)
--- a/
maintenance/benchmarks/benchmarkParse.php
+++ b/
maintenance/benchmarks/benchmarkParse.php
@@
-106,7
+106,7
@@
class BenchmarkParse extends Maintenance {
$loops = $this->getOption( 'loops', 1 );
if ( $loops < 1 ) {
$loops = $this->getOption( 'loops', 1 );
if ( $loops < 1 ) {
- $this->
error( 'Invalid number of loops specified', true
);
+ $this->
fatalError( 'Invalid number of loops specified'
);
}
$startUsage = getrusage();
$startTime = microtime( true );
}
$startUsage = getrusage();
$startTime = microtime( true );
@@
-188,5
+188,5
@@
class BenchmarkParse extends Maintenance {
}
}
}
}
-$maintClass =
'BenchmarkParse'
;
+$maintClass =
BenchmarkParse::class
;
require RUN_MAINTENANCE_IF_MAIN;
require RUN_MAINTENANCE_IF_MAIN;