-
-
Notifications
You must be signed in to change notification settings - Fork 692
New issue
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
Dies in a heap on encountering "new without parens" #8911
Comments
Thank you for your report! We'll need an isolated failing demo link from: http://getrector.com/demo, |
I don't think your demo tool emits errors produced by Rector dying. |
Indeed, but your code passes without error: https://getrector.com/demo/60b18f6e-b763-4579-a458-d2b0b48f56b6 What is your local PHP version? |
|
This will be most likely fixed in #8815 |
Resolved on latest dev-main with php-parser 5. |
@samsonasik Thanks. When will this be released? |
see #8815 (comment) |
Bug Report
"Syntax error, unexpected T_OBJECT_OPERATOR, expecting ')', Syntax error, unexpected ','"
Minimal PHP Code Causing Issue
Expected Behaviour
Do not die in a heap.
The text was updated successfully, but these errors were encountered: