Improvements to switch/case exhaustiveness checking · Issue #3488 · phpstan/phpstan
Feature request When using the const-as-enum pattern (supported in 0.12.20 via #2904), it would be really helpful to improve several warnings. Turning on strict rules does handle explicitly invalid...