/**
* Gets the default commands that should always be available.
*
* @return array An array of default Command instances
*/
protected function getDefaultCommands() { // Keep the core default commands to have the HelpCommand
// which is used when using the --help option
$defaultCommands = parent::
getDefaultCommands();
$defaultCommands[] =
new UpdateCommand();
return $defaultCommands;
} private function registerErrorHandler() { set_error_handler(function D
$errno,
$errstr,
$errfile,
$errline) { // error was suppressed with the @-operator
if (error_reporting() === 0 ||
$errno === E_USER_DEPRECATED
) { return false;
}