[VarDumper] fix for change in PHP 7.4.6
This commit is contained in:
parent
cec0dfe5b3
commit
924822c2e8
@ -89,6 +89,8 @@ class SplCaster
|
|||||||
];
|
];
|
||||||
|
|
||||||
$prefix = Caster::PREFIX_VIRTUAL;
|
$prefix = Caster::PREFIX_VIRTUAL;
|
||||||
|
unset($a["\0SplFileInfo\0fileName"]);
|
||||||
|
unset($a["\0SplFileInfo\0pathName"]);
|
||||||
|
|
||||||
if (false === $c->getPathname()) {
|
if (false === $c->getPathname()) {
|
||||||
$a[$prefix.'⚠'] = 'The parent constructor was not called: the object is in an invalid state';
|
$a[$prefix.'⚠'] = 'The parent constructor was not called: the object is in an invalid state';
|
||||||
|
Reference in New Issue
Block a user