You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a constant from a class as the enum value, an error raises with the message Failed to infer case value for $ENUM_CASE$. Functionally it's accepted and works but Psalm throws an error.
Psalm encountered an internal error:
/vendor/vimeo/psalm/src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeNodeScanner.php: Failed to infer case value for ENUM_CASE_1
When using a constant from a class as the enum value, an error raises with the message
Failed to infer case value for $ENUM_CASE$
. Functionally it's accepted and works but Psalm throws an error.Here's a code snippet to reproduce it https://psalm.dev/r/fb70dd37d2
The text was updated successfully, but these errors were encountered: