We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db4783 commit 6180ca7Copy full SHA for 6180ca7
bin/testo
@@ -46,10 +46,10 @@ use Testo\Common\Command;
46
$application = new Application();
47
$application->setCommandLoader(
48
new FactoryCommandLoader([
49
- Command\Run::getDefaultName() => static fn() => new Command\Run(),
+ 'run' => static fn() => new Command\Run(),
50
]),
51
);
52
- $application->setDefaultCommand(Command\Run::getDefaultName(), false);
+ $application->setDefaultCommand('run', false);
53
$application->setVersion(Info::version());
54
$application->setName(Info::NAME);
55
$application->run();
0 commit comments