Skip to content

Conversation

@yoeunes
Copy link
Contributor

@yoeunes yoeunes commented Nov 4, 2025

Q A
Branch? 7.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Issues -
License MIT

This PR fixes a bug in the CommandDataCollector that causes a fatal error.

When running a command with both --profile and --silent (or -q), the CommandDataCollector::collect() method throws an UnhandledMatchError because the VERBOSITY_SILENT (value 8) case is missing from the match statement.

This patch adds the missing OutputInterface::VERBOSITY_SILENT => 'silent' case to resolve the crash.

@yoeunes yoeunes force-pushed the console-datacollector-silent-verbosity branch from 42b96c0 to 4c44765 Compare November 4, 2025 01:21
@nicolas-grekas
Copy link
Member

Thank you @yoeunes.

@nicolas-grekas nicolas-grekas merged commit 3bb9d72 into symfony:7.3 Nov 4, 2025
11 checks passed
@fabpot fabpot mentioned this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants