Skip to content
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

restore phpunit.xml schema compatibility, colors=always only allowed fro... #1529

Merged
merged 3 commits into from
Dec 15, 2014
Merged

Conversation

remicollet
Copy link
Contributor

...m command line options

@GrahamCampbell
Copy link
Contributor

👍

if ($this->getBoolean($root->getAttribute('colors'), false)) {
$result['colors'] = PHPUnit_TextUI_ResultPrinter::COLOR_AUTO;
} else {
$result['colors'] = PHPUnit_TextUI_ResultPrinter::COLOR_DEFAULT;
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess you should use PHPUnit_TextUI_ResultPrinter::COLOR_NEVER instead, since it is the opposite of PHPUnit_TextUI_ResultPrinter::COLOR_AUTO.

sebastianbergmann added a commit that referenced this pull request Dec 15, 2014
restore phpunit.xml schema compatibility, colors=always only allowed fro...
@sebastianbergmann sebastianbergmann merged commit fbbc0b1 into sebastianbergmann:master Dec 15, 2014
@remicollet remicollet deleted the issue-colors3 branch December 15, 2014 16:16
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.

4 participants