feat: add logical_operators as a required rule#49
Conversation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
0e3e06a to
fc33aa9
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
fix: Define risky by default and only use the rule then
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
come-nc
left a comment
There was a problem hiding this comment.
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 |
|
So how to continue here? |
|
I'll try to have a look that we can add our own validator with psalm similar to the OCP since checker: |
|
thank you @nickvergessen |
logical_operators#48