Skip to content

Commit

Permalink
[VarDumper] ReflectionFunction::isDisabled() is deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed May 22, 2020
1 parent 52abcbe commit 9c21cfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Symfony/Component/VarDumper/Caster/ReflectionCaster.php
Expand Up @@ -323,6 +323,9 @@ private static function addExtra(&$a, \Reflector $c)
$x['line'] = $c->getStartLine().' to '.$c->getEndLine();
}

if (\PHP_VERSION_ID >= 80000) {
unset(self::$extraMap['isDisabled']);
}
self::addMap($x, $c, self::$extraMap, '');

if ($x) {
Expand Down

0 comments on commit 9c21cfd

Please sign in to comment.