We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d71bb6b commit 235c50cCopy full SHA for 235c50c
src/CodeCoverage.php
@@ -634,7 +634,7 @@ private function initializeFilesThatAreSeenTheFirstTime(array $data)
634
635
foreach ($fileData['functions'] as $functionName => $functionData) {
636
$this->data[$file]['branches'][$functionName] = [];
637
- $this->data[$file]['paths'][$functionName] = [];
+ $this->data[$file]['paths'][$functionName] = $functionData['paths'];
638
639
foreach ($functionData['branches'] as $index => $branch) {
640
$this->data[$file]['branches'][$functionName][$index] = [
@@ -650,10 +650,6 @@ private function initializeFilesThatAreSeenTheFirstTime(array $data)
650
}
651
652
653
-
654
- foreach ($functionData['paths'] as $path) {
655
- $this->data[$file]['paths'][$functionName][] = $path;
656
- }
657
658
659
0 commit comments