We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aedb280 + 37bcab6 commit eb59f0aCopy full SHA for eb59f0a
PHPCSDev/ruleset.xml
@@ -81,6 +81,13 @@
81
####################################################################
82
-->
83
84
+ <!-- PSR12 doesn't enforce consistency in where boolean operators are placed. We do. -->
85
+ <rule ref="PSR12.ControlStructures.BooleanOperatorPlacement">
86
+ <properties>
87
+ <property name="allowOnly" value="first"/>
88
+ </properties>
89
+ </rule>
90
+
91
<!-- PSR12 appears to ignore blank lines for superfluous whitespace and in several other places. Let's fix that. -->
92
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
93
<properties>
0 commit comments