-
Notifications
You must be signed in to change notification settings - Fork 530
Update NodeScopeResolver.php to prevent null exception #3818
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
Conversation
I don't think there's an actual bug. Please provide a bug report / failing test first. |
Attempt to prevent null exception on ` $arg->getAttribute ` call
Hi ondrej. I have a private project that I can't share that I scanned with rector/rector:2.0.6 phpstan/phpstan:2.1.1 installed via composer
The first lines of the stack trace refer to phpstan. I already checked in rector-src too. I sincerely don't want to bother you for this. You have much more to do. But I wanted to give my 2cent since I use your tool and rector everyday. Anyway, enjoy your day @ondrejmirtes
|
You should be able to reproduce this with public-only code. And report the bug to Rector. |
No description provided.