Skip to content

Conversation

@samsonasik
Copy link
Member

This PR move leaveNode() method of AbstractRector and CallableNodeVisitor to share same logic to abstract class so make it easier to change in single place when there is need of it.

@samsonasik
Copy link
Member Author

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

@samsonasik samsonasik changed the title [internal] Add LeaveNodeAbstract for move duplicated code of leaveNode() method [internal] Add AbstractLeaveNode for move duplicated code of leaveNode() method Nov 24, 2025
@TomasVotruba
Copy link
Member

Just checking this. I'd prefer to have less abstract node visitors instead. To lower the complexity. We already have quite bloated abstract Rector doing too much.

@TomasVotruba TomasVotruba deleted the internal-leavenode branch December 19, 2025 21:20
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