mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-25 20:23:49 +01:00
set process command as default
This commit is contained in:
parent
3a1bf0267f
commit
ab44b284d1
@ -4,6 +4,7 @@ namespace Rector\Console;
|
||||
|
||||
use Jean85\PrettyVersions;
|
||||
use Rector\Console\Command\GenerateRectorOverviewCommand;
|
||||
use Rector\Console\Command\ProcessCommand;
|
||||
use Rector\ContributorTools\Command\CreateRectorCommand;
|
||||
use Symfony\Component\Console\Application as SymfonyApplication;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
@ -31,6 +32,8 @@ final class Application extends SymfonyApplication
|
||||
|
||||
$commands = $this->filterCommandsByScope($commands);
|
||||
$this->addCommands($commands);
|
||||
|
||||
$this->setDefaultCommand(CommandNaming::classToName(ProcessCommand::class));
|
||||
}
|
||||
|
||||
public function doRun(InputInterface $input, OutputInterface $output): int
|
||||
|
Loading…
x
Reference in New Issue
Block a user