Skip to content

Commit

Permalink
Bugfix #2705: if 'stderr=false' is set in phpunit.xml, it is ignored …
Browse files Browse the repository at this point in the history
…and considered true.
  • Loading branch information
odoucet authored and sebastianbergmann committed Jun 14, 2017
1 parent 3395d75 commit 9094877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextUI/TestRunner.php
Expand Up @@ -251,7 +251,7 @@ class_exists($arguments['printer'], false)) {
}

$this->printer = new $printerClass(
isset($arguments['stderr']) ? 'php://stderr' : null,
(isset($arguments['stderr']) && $arguments['stderr'] === true) ? 'php://stderr' : null,
$arguments['verbose'],
$arguments['colors'],
$arguments['debug'],
Expand Down

0 comments on commit 9094877

Please sign in to comment.