We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 075f527 commit aaedb4aCopy full SHA for aaedb4a
src/CodeCoverage.php
@@ -372,6 +372,9 @@ public function merge(PHP_CodeCoverage $that)
372
if (!isset($this->data[$file]['lines'][$line])) {
373
$this->data[$file]['lines'][$line] = $data;
374
} else {
375
+ if ($data['pathCovered']) {
376
+ $this->data[$file]['lines'][$line]['pathCovered'] = $data['pathCovered'];
377
+ }
378
$this->data[$file]['lines'][$line]['tests'] = array_unique(
379
array_merge($this->data[$file]['lines'][$line]['tests'], $data['tests'])
380
);
0 commit comments