Skip to content

Conversation

carlos-granados
Copy link
Contributor

Fixes one of the issues found by rectorphp/rector-src#6794 in this repository. The YamlToAttributeDoctrineMappingRector rule needs to check that any change has actually been made before returning a node, if no change was made it needs to return null. For this we need to change all the hierarchy of functions called by this rector rule, including all classes implementing the PropertyAttributeTransformerInterface and ClassAttributeTransformerInterface

@samsonasik
Copy link
Member

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

@samsonasik samsonasik merged commit c923389 into rectorphp:main Apr 6, 2025
6 checks passed
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