Skip to content

Commit f5e2594

Browse files
authored
Merge pull request #19 from jamesthomasonjr/phpdbg-contract
Implement revised contract in PHPDBG Driver
2 parents 4d64574 + ede71db commit f5e2594

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Driver/PHPDBG.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
/*
2+
/**
33
* This file is part of the php-code-coverage package.
44
*
55
* (c) Sebastian Bergmann <[email protected]>
@@ -99,6 +99,13 @@ private function detectExecutedLines(array $sourceLines, array $dbgData): array
9999
}
100100
}
101101

102+
foreach ($sourceLines as $file => $lines) {
103+
$sourceLines[$file] = [
104+
'lines' => $lines,
105+
'functions' => []
106+
];
107+
}
108+
102109
return $sourceLines;
103110
}
104111
}

0 commit comments

Comments
 (0)