Error Identifiers: booleanAnd.*
← Back to all error identifiers
There are 9 error identifiers in the booleanAnd.* group:
-
Result of && is always false.
-
Result of && is always true.
-
Left side of && always evaluates to false.
-
Left side of && always evaluates to true, making it redundant.
-
booleanAnd.leftNotBoolean phpstan-strict-rules
Left side of && is not a boolean value.
-
Result of the && operator is not used.
-
Right side of && always evaluates to false.
-
Right side of && always evaluates to true, making it redundant.
-
booleanAnd.rightNotBoolean phpstan-strict-rules
Right side of && is not a boolean value.