Skip to content
On this page

DisallowBooleanStatement

Ensures that boolean operators are only used inside control structure conditions.

Scope

Squiz.PHP.DisallowBooleanStatement

Usage

xml
<rule ref="Squiz.PHP.DisallowBooleanStatement"></rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.