Make RenameClassRector more flexible by supporting callbacks? #7556
dorrogeray
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hi, how exactly would that look like? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I would like to write a rector rule which renames classes extending the
Exception
class to have suffixException
, and possibly similar thing for interfaces. I was thinking whether or not it would be a good idea to add support of callbacks to theRenameClassRector
instead of writing multiple independent rules, which serve similar purpose? Any thoughts on this?Beta Was this translation helpful? Give feedback.
All reactions