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
I've inherited a code base where people sometimes used impossibly @var annotations.
I guess if the @var and the actual type do not have any overlap, psalm could report an error.
Input welcome which cases would make sense/are possible without causing false positives
The text was updated successfully, but these errors were encountered:
Psalm output (using commit 765dcbf):
INFO: Trace - 7:23 - $x: array<array-key, int>
INFO: UnusedVariable - 6:1 - $x is never referenced or the value is not used
https://psalm.dev/r/eb9afcdaf4
I've inherited a code base where people sometimes used impossibly @var annotations.
I guess if the @var and the actual type do not have any overlap, psalm could report an error.
Input welcome which cases would make sense/are possible without causing false positives
The text was updated successfully, but these errors were encountered: