Update to Symfony 8.0

This commit is contained in:
Alejandro Celaya
2025-12-02 12:11:56 +01:00
parent cfab13bc47
commit 1996745f64
9 changed files with 31 additions and 19 deletions

View File

@@ -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);