forked from MehediDracula/PHP-Namespace-Resolver
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Looks the current version 0.5.3 does cannot handle new PHP 8.4 syntax with class methods without extra parentheses
$name = (new ReflectionClass($objectOrClass))->getShortName();
into
$name = new ReflectionClass($objectOrClass)->getShortName();
The moment the shortened syntax is present, php-parser (3.1.4) library throws an error.
There is pending pull request on the library
glayzzle/php-parser#1145
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed