Skip to content

Commit 439f7f6

Browse files
Revert "Revert "Sync with API change in PHP_CodeCoverage 1.2.10""
This reverts commit fdf112c.
1 parent 4acd8b0 commit 439f7f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

PHPUnit/TextUI/TestRunner.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,15 +471,16 @@ class_exists($arguments['printer'], FALSE)) {
471471
$colors = FALSE;
472472
}
473473

474-
$writer = new PHP_CodeCoverage_Report_Text(
475-
$outputStream,
474+
$processor = new PHP_CodeCoverage_Report_Text(
476475
$arguments['reportLowUpperBound'],
477476
$arguments['reportHighLowerBound'],
478477
$arguments['coverageTextShowUncoveredFiles'],
479478
$arguments['coverageTextShowOnlySummary']
480479
);
481480

482-
$writer->process($codeCoverage, $colors);
481+
$outputStream->write(
482+
$processor->process($codeCoverage, $colors)
483+
);
483484
}
484485
}
485486

0 commit comments

Comments
 (0)