Skip to content

Commit

Permalink
Bugfix sebastianbergmann#2705: if 'stderr=false' is set in phpunit.xm…
Browse files Browse the repository at this point in the history
…l, it is ignored and considered true.
  • Loading branch information
odoucet committed Jun 14, 2017
1 parent aced19c commit fa926d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextUI/TestRunner.php
Expand Up @@ -279,7 +279,7 @@ public function doRun(Test $suite, array $arguments = [], $exit = true)
}

$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 fa926d1

Please sign in to comment.