Security update for Core, with self-updated composer
[yaffs-website] / vendor / psy / psysh / src / Psy / CodeCleaner / ValidFunctionNamePass.php
index 8b4e184a97f207c70312791a416f4c095ba21ab6..0da5138f0d76306ebdae4f1e13446ddb67d9740d 100644 (file)
@@ -78,7 +78,7 @@ class ValidFunctionNamePass extends NamespaceAwarePass
             if (!$name instanceof Expr && !$name instanceof Variable) {
                 $shortName = implode('\\', $name->parts);
                 $fullName  = $this->getFullyQualifiedName($name);
-                $inScope = isset($this->currentScope[strtolower($fullName)]);
+                $inScope   = isset($this->currentScope[strtolower($fullName)]);
                 if (!$inScope && !function_exists($shortName) && !function_exists($fullName)) {
                     $message = sprintf('Call to undefined function %s()', $name);
                     throw new FatalErrorException($message, 0, E_ERROR, null, $node->getLine());