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 75fcfe3):
ERROR: InvalidReturnType - 4:12 - foo is not expected to return any values but it does, either implicitly or explicitly
ERROR: UnevaluatedCode - 13:1 - Expressions after return/throw/continue
INFO: UnusedVariable - 11:1 - $a is never referenced or the value is not used
kkmuffme
added a commit
to kkmuffme/psalm
that referenced
this issue
Oct 21, 2023
Using a slightly adjusted example from https://psalm.dev/docs/running_psalm/issues/NoValue/
https://psalm.dev/r/a1c3c38452
When suppressing NoValue it's clear that there is a value and subsequent code should not treat as if it returned, e.g. UnevaluatedCode, UnusedVariable
The text was updated successfully, but these errors were encountered: