Skip to content

Conversation

@carlos-granados
Copy link
Contributor

@carlos-granados carlos-granados commented Mar 31, 2025

In all three cases, the problem existed because some functions did not actually change nodes in a way that would result in a code change, they just added attributes to inner statements or expressions so that other functions could work on the code, but they still returned a node value as though it had been changed. I modified this so that these functions did not return a node. I also changed their name as they were called refactorXXX and no refactor was actually done in these functions, so I used what I think are more appropriate names

@samsonasik
Copy link
Member

Let's give it a try, thank you @carlos-granados

@samsonasik samsonasik merged commit 15fd706 into rectorphp:main Apr 6, 2025
6 checks passed
@samsonasik
Copy link
Member

nvm, looks ok 👍

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.

2 participants