analyse/operators/non-boolean-or-operand
In the analyse-strict preset and every stricter one. Report only. Upstream gates: strictRules.booleansInConditions.
Configuration
[analyse.rules]
"operators/non-boolean-or-operand" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
BooleanInBooleanOrRule(phpstan-classes)