Menu
← Back to all error identifiers
Error Identifiers: switch.*
There are 4 error identifiers in the switch.* group:
-
A switch case can never match the switch subject because their types do not overlap.
-
A switch case always matches, making the cases below it unreachable.
-
A switch case repeats a value already matched by an earlier case.
-
switch.type phpstan-strict-rulesSwitch case value type is incompatible with the switch expression type.