Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Do not mark any line of uncovered files as covered.

  • Loading branch information...
commit 9065df1167d709731d36b0fe3f914bf60991184c 1 parent c843768
@sebastianbergmann authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 PHPUnit/Util/Filter.php
View
6 PHPUnit/Util/Filter.php
@@ -226,6 +226,12 @@ public static function getFilteredCodeCoverage(array $codeCoverageInformation, $
xdebug_stop_code_coverage();
if (isset($coverage[$whitelistedFile])) {
+ foreach ($coverage[$whitelistedFile] as $line => $flag) {
+ if ($flag > 0) {
+ $coverage[$whitelistedFile][$line] = -1;
+ }
+ }
+
$codeCoverageInformation[] = array(
'test' => NULL,
'files' => array(
Please sign in to comment.
Something went wrong with that request. Please try again.