mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Update to Symfony 8.0
This commit is contained in:
@@ -40,9 +40,9 @@ class CliTestUtils
|
||||
public static function testerForCommand(Command $mainCommand, Command ...$extraCommands): CommandTester
|
||||
{
|
||||
$app = new Application();
|
||||
$app->add($mainCommand);
|
||||
$app->addCommand($mainCommand);
|
||||
foreach ($extraCommands as $command) {
|
||||
$app->add($command);
|
||||
$app->addCommand($command);
|
||||
}
|
||||
|
||||
return new CommandTester($mainCommand);
|
||||
|
||||
Reference in New Issue
Block a user