-
Couldn't load subscription status.
- Fork 2
feat: add logical_operators as a required rule
#49
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Ferdinand Thiessen <[email protected]>
0e3e06a to
fc33aa9
Compare
Signed-off-by: Joas Schilling <[email protected]>
fix: Define risky by default and only use the rule then
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
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’m not sure this is important enough to enable risky changes in our coding standard. Application should be able to rely on the cs-fixer not breaking anything.
This is a good point I hadn't realized in #50. Generally enabling risky rules by default sounds like a bad idea. |
We can, the sad thing is that if the config can not access the passed |
|
On that note: https://github.com/symfony/symfony/blob/7.4/.php-cs-fixer.dist.php#L50 I guess it's okay, as the only risky thing is if we add a new risky rule at some point. Because going forward it would prevent anyone from using and/or in first place, so there is no risk from that rule anymore. |
This makes most sense |
logical_operators#48