diff --git a/src/Runner.php b/src/Runner.php index db78a1a..f4cece6 100644 --- a/src/Runner.php +++ b/src/Runner.php @@ -139,7 +139,10 @@ protected function applyReporters(\PHPUnit\Framework\TestResult $result, array $ } if ($arguments['report']) { - self::$persistentListeners[] = $this->instantiateReporter('report'); + self::$persistentListeners[] = $this->instantiateReporter( + 'report', + [@STDOUT ?: fopen('php://output', 'w')] + ); } if ($arguments['html']) {