SebastianBergmann\PHPCPD\CLI\Application::getDefaultCommands PHP Method

getDefaultCommands() protected method

Gets the default commands that should always be available.
protected getDefaultCommands ( ) : array
return array An array of default Command instances
    protected function getDefaultCommands()
    {
        $defaultCommands = parent::getDefaultCommands();
        $defaultCommands[] = new Command();
        return $defaultCommands;
    }