-
-
Notifications
You must be signed in to change notification settings - Fork 737
Closed
rectorphp/rector-src
#7868Labels
Description
Bug Report
| Subject | Details |
|---|---|
| Rector version | v2.3.4 |
Rector doesn't recognize traits used in parent classes
PHPStan does though which causes the PHPStan inspection to fail but Rector not being able to fix it
Minimal PHP Code Causing Issue
https://getrector.com/demo/decbf78f-9e96-40e4-b7f2-5e323b5df551
https://phpstan.org/r/55d93ed4-0232-476b-a07e-f2c43193d101
Expected Behaviour
I would expect rector to also add the Override attribute to the runSomething function of my example class