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
{{ message }}
Repository navigation
Commit e7925a2
Browse filesBrowse the repository at this point in the historyBrowse files
UnusedVariableRule: stop reporting never-read catch variables and foreach values next to a key
A catch variable, and the value variable of a foreach with a key, are
part of the syntax - dropping them means a non-capturing catch or a
rewrite over array_keys(). Only their *Flow variants stay reported.
ForeachHandler records the value of a keyed foreach as the new
VariableWrite::KIND_FOREACH_VALUE_WITH_KEY.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bm4YbtwnyY5UMgp64hK1ff
0 commit comments