efabrica-team / rector-nette

Rector upgrades rules for Nette
http://getrector.org
MIT License
27 stars 7 forks source link

[Nette][NodeAnalyzer] Use PropertyFetchAnalyzer->isLocalPropertyFetchName() on PropertyUsageAnalyzer #70

Closed samsonasik closed 2 years ago

samsonasik commented 2 years ago

There is already PropertyFetchAnalyzer->isLocalPropertyFetchName() that verify local property fetch, check against both this and self usage, so moving to PropertyFetchAnalyzer->isLocalPropertyFetchName() instead of $this->nodeNameResolver->isLocalPropertyFetchNamed()

samsonasik commented 2 years ago

All checks have passed 🎉 @TomasVotruba it is ready for review.

TomasVotruba commented 2 years ago

👍