diff --git a/PHPUnit/TextUI/Command.php b/PHPUnit/TextUI/Command.php index 1113ee2a3f6..fe1515f75a9 100644 --- a/PHPUnit/TextUI/Command.php +++ b/PHPUnit/TextUI/Command.php @@ -317,9 +317,10 @@ protected function handleArguments(array $argv) break; case '--coverage-text': { - if($option[1] === NULL) { + if ($option[1] === NULL) { $option[1] = 'php://stdout'; } + $this->arguments['coverageText'] = $option[1]; $this->arguments['coverageTextShowUncoveredFiles'] = FALSE; }