[CodeQuality] Rule to enforce test method code style#668
Conversation
|
@TomasVotruba this is ready to review :) |
|
for additional note: I think this should be your own custom rule for your specific use case :) |
|
@samsonasik thank you for the review. Regarding your additional note, do you mean this should not be part of rector php and instead be part of a separate package? |
|
yeah, imo, this should be not part of rector repo, you can create your own custom rector rule for it as this is by preference |
|
The reason I thought it would fit well here is because this is similar to Ofcourse if you still don't think this should be part of |
|
I'm looking into this. Seems valid to have the direction as well 👍 |
40f12c6 to
2fdf38b
Compare
|
Ready to ship 👍 Thank you! |
This adds two rules to convert the name of test methods to either
CamelCaseorsnake_case.