Skip to content

Conversation

ogizanagi
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? yes
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

@@ -522,12 +522,14 @@ protected function supportsColors()
case '--color=yes':
case '--color=force':
case '--color=always':
case '--colors=always':
Copy link
Member

Choose a reason for hiding this comment

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

Does --colors also support yes and force as a value?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

return static::$defaultColors = true;

case '--no-ansi':
case '--color=no':
case '--color=none':
case '--color=never':
case '--colors=never':
Copy link
Member

Choose a reason for hiding this comment

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

Same here, I think it supports all possible values as well.

@fabpot
Copy link
Member

fabpot commented Aug 16, 2020

Thank you @ogizanagi.

@fabpot fabpot merged commit 8b3df37 into symfony:master Aug 16, 2020
@ogizanagi ogizanagi deleted the cli-dumper-phpunit-colors branch August 16, 2020 07:46
@fabpot fabpot mentioned this pull request Oct 5, 2020
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