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 47612b9 commit 1e8e957Copy full SHA for 1e8e957
PHP/CodeCoverage.php
@@ -456,6 +456,11 @@ protected function applyListsFilter(&$data)
456
protected function initializeFilesThatAreSeenTheFirstTime($data)
457
{
458
foreach ($data as $file => $lines) {
459
+ // Patch for XDebug bug:
460
+ // http://bugs.xdebug.org/bug_view_page.php?bug_id=0000331
461
+ preg_match('/.*\.php/', $file, $matches);
462
+ $file = $matches[0];
463
+
464
if ($this->filter->isFile($file) && !isset($this->data[$file])) {
465
$this->data[$file] = array();
466
0 commit comments