We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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();
$name = (new ReflectionClass($objectOrClass))->getShortName();
$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
The text was updated successfully, but these errors were encountered:
thank you for the headsup, however until its supported by the parser, there isnt much to do, also PRs are welcome.
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: