Menu
← Back to all error identifiers
Error Identifiers: if.*
There are 3 error identifiers in the if.* group:
-
Condition in an if statement is always false, making the body dead code.
-
Condition in an if statement is always true, making the check redundant.
-
if.condNotBoolean phpstan-strict-rulesNon-boolean type is used in an if condition instead of an explicit comparison.