Bug report
PHPStan behaves erratically when comparing a list of enum values using match statement
Code snippet that reproduces the problem
https://phpstan.org/r/7582eb45-f726-445a-92a5-8f7cf475df11
Expected output
PHPStan should not report any error, since all possible combinations are handled once in the match statement.
Did PHPStan help you today? Did it make you happy in any way?
No response
Bug report
PHPStan behaves erratically when comparing a list of enum values using match statement
Code snippet that reproduces the problem
https://phpstan.org/r/7582eb45-f726-445a-92a5-8f7cf475df11
Expected output
PHPStan should not report any error, since all possible combinations are handled once in the match statement.
Did PHPStan help you today? Did it make you happy in any way?
No response