analyse/control-flow/unhandled-match
In the analyse-recommended preset and every stricter one. Report only.
Configuration
[analyse.rules]
"control-flow/unhandled-match" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
MatchExpressionRule(phpstan-classes)MatchNotExhaustive(mago-analyzer)match.alwaysFalse(phpstan)match.alwaysTrue(phpstan)match.unhandled(phpstan)