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
Not sure whether this is really a bug, saw on phpstan.org:
<?php return [,"a"];
https://phpstan.org/r/2d55784d-1a6e-4abd-86fa-5c0f3353bd62
The text was updated successfully, but these errors were encountered:
Fixed, thank you! Surprised me parser lets this through :) phpstan/phpstan-src@a97477b
Sorry, something went wrong.
It's because the same object is used for array destructuring. Should change in v5: nikic/PHP-Parser#471
I know about that, but it could still have been a parse error when not on LHS of assignment :)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Not sure whether this is really a bug, saw on phpstan.org:
https://phpstan.org/r/2d55784d-1a6e-4abd-86fa-5c0f3353bd62
The text was updated successfully, but these errors were encountered: