Skip to content

Commit 6d1b3f2

Browse files
committed
XCache records hits on that line (instead of status)
1 parent 2d4b400 commit 6d1b3f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/VIPSoft/CodeCoverageCommon/Model/Aggregate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function update($class, $counts)
4343
}
4444

4545
foreach ($counts as $line => $status) {
46-
if ( ! isset($this->coverage[$class][$line]) || $status === 1) {
46+
if ( ! isset($this->coverage[$class][$line]) || $status > 0) {
4747
$this->coverage[$class][$line] = $status;
4848
}
4949
}

0 commit comments

Comments
 (0)