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 5a4b67e commit 186e66cCopy full SHA for 186e66c
src/CodeCoverage/Driver/Xdebug.php
@@ -79,6 +79,10 @@ public function stop()
79
private function cleanup(array $data)
80
{
81
foreach (array_keys($data) as $file) {
82
+ if (!isset($data[$file]['lines'])) {
83
+ $data[$file] = array('lines' => $data[$file]);
84
+ }
85
+
86
if (isset($data[$file]['lines'][0])) {
87
unset($data[$file]['lines'][0]);
88
}
0 commit comments