Skip to content

AddTypeToConstRector: apply if const references another class const#6017

Merged
TomasVotruba merged 1 commit intorectorphp:mainfrom
tugmaks:const-types
Jun 24, 2024
Merged

AddTypeToConstRector: apply if const references another class const#6017
TomasVotruba merged 1 commit intorectorphp:mainfrom
tugmaks:const-types

Conversation

@tugmaks
Copy link
Copy Markdown
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
Copy Markdown
Member

Looks good, thank you 👍

@TomasVotruba TomasVotruba merged commit 4c20753 into rectorphp:main Jun 24, 2024
@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