Skip to content

Commit 2ae5ed7

Browse files
Merge branch '3.4' into 4.4
* 3.4: [VarDumper] fix for change in PHP 7.4.6 Added regression test for AccountStatusException behavior (ref #36822) embed resource name in error message [Serializer] fix issue with PHP 8 [Yaml] Fix escaped quotes in quoted multi-line string
2 parents 429e96b + abdd672 commit 2ae5ed7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Caster/SplCaster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ public static function castFileInfo(\SplFileInfo $c, array $a, Stub $stub, $isNe
9191
];
9292

9393
$prefix = Caster::PREFIX_VIRTUAL;
94+
unset($a["\0SplFileInfo\0fileName"]);
95+
unset($a["\0SplFileInfo\0pathName"]);
9496

9597
if (false === $c->getPathname()) {
9698
$a[$prefix.''] = 'The parent constructor was not called: the object is in an invalid state';

0 commit comments

Comments
 (0)