From 4628c5619e1a0bfa0408749c3ef5f7b20dc9b943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Ot=C3=A1vio=20Cobucci=20Oblonczyk?= Date: Tue, 21 Jan 2014 09:20:40 -0200 Subject: [PATCH] Text report was using a wrong way to render the summary when option "showOnlySummary" was setted as true --- PHP/CodeCoverage/Report/Text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHP/CodeCoverage/Report/Text.php b/PHP/CodeCoverage/Report/Text.php index 181a8318a..3199c0c13 100644 --- a/PHP/CodeCoverage/Report/Text.php +++ b/PHP/CodeCoverage/Report/Text.php @@ -173,7 +173,7 @@ public function process(PHP_CodeCoverage $coverage, $showColors = FALSE) $output .= $this->format($colors['lines'], $padding, $lines); if ($this->showOnlySummary) { - return $this->outputStream->write($output . PHP_EOL); + return $output . PHP_EOL; } $classCoverage = array();