-
Notifications
You must be signed in to change notification settings - Fork 148
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
[TASK] Add a fix
Composer script to run all code fixers
#759
Conversation
This makes our life as developers a bit more convenient. Also run Rector before the style fixer as Rector is responsible for structural changes that need to be style-fixed after that.
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 like we don't yet have Composer-Normalize on this project, but the previous ordering within fix:php
I think was correct, and should not be changed.
"@fix:php:rector", | ||
"@fix:php:fixer" |
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.
F comes before R in the latin alphabet, so the existing ordering was correct.
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.
I changed this on purpose:
Also run Rector before the style fixer as Rector is responsible for structural changes that need to be style-fixed after that.
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.
I changed this on purpose:
Also run Rector before the style fixer as Rector is responsible for structural changes that need to be style-fixed after that.
Sorry, I missed that, and for some reason thought the script content itself would be reordered by Composer-Normalize :/
"@fix:php:rector", | ||
"@fix:php:fixer" |
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.
I changed this on purpose:
Also run Rector before the style fixer as Rector is responsible for structural changes that need to be style-fixed after that.
Sorry, I missed that, and for some reason thought the script content itself would be reordered by Composer-Normalize :/
This makes our life as developers a bit more convenient.
Also run Rector before the style fixer as Rector is responsible for structural changes that need to be style-fixed after that.