X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fshell%2FShell.php;h=478a615039fc52c4f7880c08ad770b36c6c1241b;hb=5a451fd01be397db3209c1881a335423706da5c2;hp=74d77a845b27386e73202069c9ab5566fc6906f7;hpb=4051970d03686d0f05516659a35733cd5325eb37;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/shell/Shell.php b/includes/shell/Shell.php index 74d77a845b..478a615039 100644 --- a/includes/shell/Shell.php +++ b/includes/shell/Shell.php @@ -238,7 +238,6 @@ class Shell { // Give site config file a chance to run the script in a wrapper. // The caller may likely want to call wfBasename() on $script. Hooks::run( 'wfShellWikiCmd', [ &$script, &$parameters, &$options ] ); - // @phan-suppress-next-line PhanTypeInvalidDimOffset $cmd = [ $options['php'] ?? $wgPhpCli ]; if ( isset( $options['wrapper'] ) ) { $cmd[] = $options['wrapper'];