Why make default in match expression explicit? · Issue #4088 · phpstan/phpstan

Support question PHPStan v0.12.55 complains about a missing default in a PHP 8 match expression. To avoid this complaint one could add a default branch that explicitly throws a userland exception, ...