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 "Introduce deleteAutoPatrolLogs maintenance script"
[lhc/web/wiklou.git]
/
maintenance
/
shell.php
diff --git
a/maintenance/shell.php
b/maintenance/shell.php
index
65c353a
..
c8a8a45
100644
(file)
--- a/
maintenance/shell.php
+++ b/
maintenance/shell.php
@@
-58,7
+58,7
@@
class MediaWikiShell extends Maintenance {
public function execute() {
if ( !class_exists( \Psy\Shell::class ) ) {
public function execute() {
if ( !class_exists( \Psy\Shell::class ) ) {
- $this->
error( 'PsySH not found. Please run composer with the --dev option.', 1
);
+ $this->
fatalError( 'PsySH not found. Please run composer with the --dev option.'
);
}
$traverser = new \PhpParser\NodeTraverser();
}
$traverser = new \PhpParser\NodeTraverser();
@@
-96,5
+96,5
@@
class MediaWikiShell extends Maintenance {
}
}
-$maintClass =
'MediaWikiShell'
;
+$maintClass =
MediaWikiShell::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;