BooleanOperatorPlacement
Checks that control structures have boolean operators in the correct place.
Scope
PSR12.ControlStructures.BooleanOperatorPlacement
Properties
Property Name | Type | Default | Available Since |
---|---|---|---|
allowOnly | bool | null | 3.5.4 |
Usage
xml
<rule ref="PSR12.ControlStructures.BooleanOperatorPlacement">
<properties>
<property name="allowOnly" value="first" />
</properties>
</rule>
Examples
No Examples Available
Please edit this page through Github to add examples.