[Console] Add missing VERBOSITY_SILENT case in CommandDataCollector

This commit is contained in:
Younes ENNAJI
2025-11-04 01:59:30 +01:00
parent cdb80fa586
commit c28ad91448

View File

@@ -43,6 +43,7 @@ final class CommandDataCollector extends DataCollector
'duration' => $command->duration,
'max_memory_usage' => $command->maxMemoryUsage,
'verbosity_level' => match ($command->output->getVerbosity()) {
OutputInterface::VERBOSITY_SILENT => 'silent',
OutputInterface::VERBOSITY_QUIET => 'quiet',
OutputInterface::VERBOSITY_NORMAL => 'normal',
OutputInterface::VERBOSITY_VERBOSE => 'verbose',