Skip to content

Show the Docker Compose instructions without -v - #1102

Open
Amoifr wants to merge 1 commit into
symfony:2.xfrom
Amoifr:fix-944-show-docker-compose-messages
Open

Show the Docker Compose instructions without -v#1102
Amoifr wants to merge 1 commit into
symfony:2.xfrom
Amoifr:fix-944-show-docker-compose-messages

Conversation

@Amoifr

@Amoifr Amoifr commented Sep 4, 2026

Copy link
Copy Markdown
Q A
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #944
License MIT

AbstractConfigurator::write() defaults to IOInterface::VERBOSE, so the two messages telling the user to run docker compose up again were only printed with -v. That is the one action the user has to take, and it shared a verbosity level with progress lines such as Adding Docker Compose definitions to "compose.yaml", which are fine to keep quiet.

Both are now written at IOInterface::NORMAL. They are the first callers of the $verbosity argument write() has carried unused since it was added.

The new test captures the writeError() calls and checks the verbosity for both configure() and unconfigure(). It fails on 2.x with the level at 4.

The two messages telling the user to run "docker compose up" again went
through AbstractConfigurator::write(), which defaults to VERBOSE, so the
one action the user has to take was only printed with -v.

They are the first callers of the $verbosity argument that write() has
carried unused since it was introduced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker-related messages not displayed

1 participant