Mostly just narrower array types. A handful of other errors fixed. Change-Id: Ied79d9e389867911bf83696dbb47f43305f8be7b
23 lines
657 B
PHP
23 lines
657 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Shell\Hook;
|
|
|
|
/**
|
|
* @stable for implementation
|
|
* @ingroup Hooks
|
|
*/
|
|
interface WfShellWikiCmdHook {
|
|
/**
|
|
* This hook is called when generating a shell-escaped command line string to
|
|
* run a MediaWiki CLI script.
|
|
*
|
|
* @since 1.35
|
|
*
|
|
* @param string &$script MediaWiki CLI script path
|
|
* @param string[] &$parameters Array of arguments and options to the script
|
|
* @param array &$options Associative array of options, may contain the 'php' and 'wrapper'
|
|
* keys
|
|
* @return bool|void True or no return value to continue or false to abort
|
|
*/
|
|
public function onWfShellWikiCmd( &$script, &$parameters, &$options );
|
|
}
|