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

AddTypeToConstRector: apply if const references another class const #6017

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

tugmaks
Copy link
Contributor

@tugmaks tugmaks commented Jun 23, 2024

https://getrector.com/demo/a3421b25-f81a-452d-901d-05c3df6ae5bc

In the original implementation ( #5290 ) referencing another class const was skipped. This pr tries to fix it.

@TomasVotruba
Copy link
Member

Looks good, thank you 👍

@TomasVotruba TomasVotruba merged commit 4c20753 into rectorphp:main Jun 24, 2024
35 checks passed
@tugmaks tugmaks deleted the const-types branch June 24, 2024 10:12
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