Skip to content

Commit d2d0c8c

Browse files
Merge branch '9.2'
2 parents a800be1 + 2211339 commit d2d0c8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/CodeCoverage.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,10 @@ private function applyFilter(RawCodeCoverageData $data): void
397397
private function applyExecutableLinesFilter(RawCodeCoverageData $data): void
398398
{
399399
foreach (array_keys($data->lineCoverage()) as $filename) {
400+
if (!$this->filter->isFile($filename)) {
401+
continue;
402+
}
403+
400404
$data->keepLineCoverageDataOnlyForLines(
401405
$filename,
402406
$this->analyser()->executableLinesIn($filename)

0 commit comments

Comments
 (0)