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 3c1d809
Browse filesBrowse the repository at this point in the historyBrowse files
Report constant-offset assignments that are redundant
`$a = [1, 2]; $a[0] = 1;` assigns a value the offset already holds, the
same finding the rule already reports for whole variables. The check
walks the constant dimensions of the target down the array type in both
type flavours; append, dynamic keys, by-reference items and PhpDoc-only
certainty are left alone.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018CZ79ZBiMt4KWgU3uy4Y4j
0 commit comments