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
$this
incorrectly detected inside object creation expression
#2618
Comments
Could you maybe come up with a test case for that and I'll have a look at it. |
#2619 - there is only test |
I also looked into |
The distinguishing feature is that the |
I've created a fix pr: #2620 I still hold the opinion that the Parser should return a more coherent structure but oh well. |
Fixed by #2620 |
The case
exists for example in
lib/CodeTransform/Adapter/WorseReflection/Transformer/ImplementContracts.php
.It's a regression after #2469 @mamazu
Perhaps similar caution will be needed in #2613
The text was updated successfully, but these errors were encountered: