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
Psalm output (using commit 64868c5):
ERROR: TypeDoesNotContainType - 15:13 - Type null for $ret is always !null
ERROR: NoValue - 16:13 - All possible types for this return were invalidated - This may be dead code
This bug is introduced in #10498 and the PR author indicates:
I only handled the most commonly used basic ones. This is just a starting point and can be easily improved with additional types once errors/issues are reported.
So here we are, reporting issues and gently pinging @kkmuffme to ask if they would have the time to look into it :)
Downgrading to 5.18.0 is the current workaround if one doesn't want to add ignore comments.
Psalm gets a bit confused about the return value from
filter_var
when called withFILTER_VALIDATE_INT
, a numeric value and some options.https://psalm.dev/r/c1579d2079
The text was updated successfully, but these errors were encountered: