Skip to content

Fix: Correctly Apply Symfony Output Flags #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Kenneth-Sills
Copy link
Contributor

@Kenneth-Sills Kenneth-Sills commented Jul 22, 2024

That is, anything set by Application::configureIO() in a "normal" Symfony Application (we do things a little differently).

Because we construct our styles separately from the application, during DI initialization, I had to copy the code that handles Symfony's arguments into here. This isn't an exact copy and paste, but given I did start from their source and work it into what's committed here, I felt it appropriate to include their MIT licensing in the NOTICE.

Closes #213


I did not include automated tests, but I did manually test -q/--quiet and --ansi/--no-ansi and -v[v][v].

I'd like to preemptive point out that --verbose=n does not work, this is a known issue with Symfony.

Kenneth-Sills and others added 4 commits July 22, 2024 01:54
That is, anything set by `Application::configureIO()` in a "normal"
Symfony Application (we do things a little differently).

Because we construct our styles separately from the application, during
DI initialization, I had to copy the code that handles Symfony's arguments
into here. This isn't an exact copy and paste, but given I did start from their
source and work it into what's committed here, I felt it appropriate to include
their MIT licensing in the NOTICE.

Closes easy-coding-standard#213
Since the numeric `--verbose` doesn't work with Symfony,
might as well remove the code to handle it.
@TomasVotruba TomasVotruba merged commit 7a32b9c into easy-coding-standard:main Jan 31, 2025
7 checks passed
@TomasVotruba
Copy link
Contributor

I'm going through old PRs that are good to go, but I forgot to do the last step.

Let's ship this :) Thank you for your patience and work 👍

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.

flags have no apparent effect on command output
2 participants