Skip to content
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

[PostRector] Improve UseNodesToAddCollector #1151

Merged
merged 4 commits into from
Nov 5, 2021

Conversation

samsonasik
Copy link
Member

@samsonasik samsonasik commented Nov 5, 2021

  • use existing $shortName instead of re-call $fullyQualifiedObjectType->getShortName() in the loop.
  • move $fullyQualifiedObjectType->getShortNameLowered() to outside loop on ClassLikeNameClassNameImportSkipVoter
  • early compare to [] before check ->getShortNameLowered()

@samsonasik
Copy link
Member Author

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

@TomasVotruba TomasVotruba merged commit 9b68637 into main Nov 5, 2021
@TomasVotruba TomasVotruba deleted the imporve-use-nodes-to-add-collector branch November 5, 2021 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants