Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Console][PhpUnitBridge][VarDumper] Fix handling NO_COLOR env var #57997

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
merged 1 commit into from
Aug 13, 2024

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

https://no-color.org/ stipulates that only the empty string should be considered as false. The current code also accepts 0 erroneously.

@carsonbot carsonbot added this to the 5.4 milestone Aug 13, 2024
@carsonbot carsonbot changed the title [PhpUnitBridge][Console][VarDumper] Fix handling NO_COLOR env var [Console][PhpUnitBridge][VarDumper] Fix handling NO_COLOR env var Aug 13, 2024
Copy link
Member

@alexandre-daubois alexandre-daubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nicolas-grekas nicolas-grekas merged commit faa8ebd into symfony:5.4 Aug 13, 2024
11 of 13 checks passed
@nicolas-grekas nicolas-grekas deleted the no-color branch August 29, 2024 14:11
This was referenced Aug 30, 2024
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.

3 participants