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
stops Psalter from fixing the issue, so it's made here. However, this block only triggers on UnusedVariable.
I tried to find what's going on exactly but I couldn't.
What I could see is that Psalm will only try to emit the UnusedVariable when in Psalter mode. That means there's something wrongly triggering this issue and then Psalter tries to fix it on the go
If I start with this code: (psalm.dev link)
it correctly flags
$v
as possibly undefined. If I runpsalter --issues=UnusedVariable
, it alters the file to:This is pretty unexpected, as:
PossiblyUndefinedVariable
issue, when I only told it to fixUnusedVariable
issues.The text was updated successfully, but these errors were encountered: