N°8910 - Upgrade Symfony packages (#811)

This commit is contained in:
Benjamin Dalsass
2026-02-23 06:54:26 +01:00
committed by GitHub
parent b91e6c384a
commit 4853ca444e
224 changed files with 4758 additions and 1778 deletions

View File

@@ -53,14 +53,21 @@ EOF
protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);
$exitCode = Command::SUCCESS;
foreach ($this->pools as $name => $pool) {
$io->comment(\sprintf('Pruning cache pool: <info>%s</info>', $name));
$pool->prune();
if (!$pool->prune()) {
$io->error(\sprintf('Cache pool "%s" could not be pruned.', $name));
$exitCode = Command::FAILURE;
}
}
$io->success('Successfully pruned cache pool(s).');
if (Command::SUCCESS === $exitCode) {
$io->success('Successfully pruned cache pool(s).');
}
return 0;
return $exitCode;
}
}