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
feat: Rename CurlyBraceTransformer
to BraceTransformer
#7333
feat: Rename CurlyBraceTransformer
to BraceTransformer
#7333
Conversation
All transformers are magically registered in PS. I would wait with such refactorings until we set up final vision in #5915 (especially here). |
ab46180
to
85f8672
Compare
Not entirely sure about this change, maybe we would need to rename
as well (see #7338)? The transformers refer to PHP tokens, and the constants sometimes use inconsistent naming, too. |
CurlyBraceTransformer
to BraceTransformer
CurlyBraceTransformer
to BraceTransformer
@localheinz I've already warned you about that in your first PR that touched transformers π. Some fixers can be renamed safely IMHO, but we really need some decisions in #5915. |
If I miss sth please describe. If we would rename CT::*, we can break BC. (and agree that removing it would break our code) |
This pull request
CurlyBraceTransformer
toBraceTransformer
Related to #5915 (comment).
Follows #7328 (comment).
πββοΈ Looks like it's not used anywhere, maybe we should remove or use it where it makes sense?