Skip to content

Commit 3892add

Browse files
committed
Merge branch '5.1' into 5.x
2 parents 26c5b83 + a930a36 commit 3892add

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dumper/PhpDumper.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,9 @@ private function collectLineage(string $class, array &$lineage)
504504
return;
505505
}
506506
$file = $r->getFileName();
507+
if (') : eval()\'d code' === substr($file, -17)) {
508+
$file = substr($file, 0, strrpos($file, '(', -17));
509+
}
507510
if (!$file || $this->doExport($file) === $exportedFile = $this->export($file)) {
508511
return;
509512
}

0 commit comments

Comments
 (0)