Commit 37bcab6
committed
Ruleset: configure PSR12.ControlStructures.BooleanOperatorPlacement sniff
Set the `allowOnly` property for the `PSR12.ControlStructures.BooleanOperatorPlacement` sniff to "first" to enforce boolean operators to always be at the start of a line, not the end.
This property is available since PHPCS 3.5.4.1 parent aedb280 commit 37bcab6
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| |||
0 commit comments