diff --git a/src/CodeCoverage.php b/src/CodeCoverage.php index 06161e299..f0982ebf7 100644 --- a/src/CodeCoverage.php +++ b/src/CodeCoverage.php @@ -571,10 +571,6 @@ private function applyIgnoredLinesFilter(array &$data) foreach ($this->getLinesToBeIgnored($filename) as $line) { unset($data[$filename][$line]); } - - if (empty($data[$filename])) { - unset($data[$filename]); - } } }