Menu
← Back to all error identifiers
Error Identifiers: booleanOr.*
There are 9 error identifiers in the booleanOr.* group:
-
Result of || is always false.
-
Result of || is always true.
-
Left side of || always evaluates to false, making it redundant.
-
Left side of || always evaluates to true, so the right side is never evaluated.
-
booleanOr.leftNotBoolean phpstan-strict-rulesLeft side of || is not a boolean value.
-
Result of the || operator is not used.
-
Right side of || always evaluates to false, making it redundant.
-
Right side of || always evaluates to true, making the whole expression always true.
-
booleanOr.rightNotBoolean phpstan-strict-rulesRight side of || is not a boolean value.