Skip to content

Commit 5419282

Browse files
Merge branch '3.4' into 4.4
* 3.4: [Form] Sync translations Added dutch translations for new invalid messages Don't skip Doctrine tests on php 8. Bump APCu to 5.1.19 on Travis. [WebProfilerBundle] Hide debug toolbar in print view indexBy does not refer to attributes, but to column names Fix Reflection file name with eval()\'d code [HttpFoundation] Fix Range Requests
2 parents 7837335 + 5b74086 commit 5419282

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
@@ -481,6 +481,9 @@ private function collectLineage(string $class, array &$lineage)
481481
return;
482482
}
483483
$file = $r->getFileName();
484+
if (') : eval()\'d code' === substr($file, -17)) {
485+
$file = substr($file, 0, strrpos($file, '(', -17));
486+
}
484487
if (!$file || $this->doExport($file) === $exportedFile = $this->export($file)) {
485488
return;
486489
}

0 commit comments

Comments
 (0)