Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

samsonasik
Copy link
Member

RemoveNonExistingVarAnnotationRector was using generic Node as getNodeTypes() which can be any node, and then verify against NODES_TO_MATCH.

This PR move this to the getNodeTypes() to be checked directly to improve performance.

@samsonasik samsonasik requested a review from TomasVotruba as a code owner June 18, 2023 03:40
@samsonasik samsonasik merged commit 392898c into main Jun 18, 2023
@samsonasik samsonasik deleted the remove-node branch June 18, 2023 03:45
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.

1 participant