-
Notifications
You must be signed in to change notification settings - Fork 144
[TASK] Add rector to composer.json with a simple null-config #546
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing this PR, @ziegenberg! ❤️
Adding rector as a development dependency enables us to do automatic refactorings. Initially this comes with a simple null-config, that does not do much but run rector, so following the suggested integration path of "taking it slow" [1]. Helps with MyIntervals#432 [1] https://getrector.com/documentation/integration-to-new-project Signed-off-by: Daniel Ziegenberg <[email protected]>
Signed-off-by: Daniel Ziegenberg <[email protected]>
I addressed your comments, rebased onto the current main and force-pushed my changes. Please let me know if you would rather have fixup commits for later squashing them. |
Yes, I'd prefer that as that makes re-reviewing a PR a bit easier. Thanks for asking! |
I addressed the last two comments regarding the Composer commands in a fixup commit. If you're done reviewing I can quash them. |
Thanks! There's no need, though - GitHub allows me to squash all commits of a PR when I merge it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks! 🙏
Adding rector as a development dependency enables us to do automatic refactorings. Initially, this comes with a simple null-config, that does not do much but run rector, so following the suggested integration path of "taking it slow" [1].
Helps with #432
[1] https://getrector.com/documentation/integration-to-new-project