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

[AutoImport] Handle AnnotationToAttributeRector + RenameClassRector then enable auto import #5213

Merged
merged 7 commits into from
Oct 29, 2023

Conversation

samsonasik
Copy link
Member

Ref rectorphp/rector-symfony#535 (comment)

On auto import, when change to attribute then rename attribute name, the import removed with $rectorConfig->importNames() applied, see

https://getrector.com/demo/4c8f80f5-9050-4b6b-b58e-93034ea3d45b

@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @jambonfarci @stefantalen with allow fetch name from attribute 72222b6 ,

This will require PR:

to be merged as well to work on symfony 62 set list :)

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 3c526c9 into main Oct 29, 2023
41 checks passed
@samsonasik samsonasik deleted the anno-to-attribute-rename-auto-import branch October 29, 2023 11: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.

2 participants