Skip to content

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