Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 17, 2025

Description

The foreach() loop straight after this bit of code checks for parenthesis owners, but T_CASE is not a token which can be marked as a parenthesis owner, so will never match.

Suggested changelog entry

N/A (clean up, should make no functional difference)

The `foreach()` loop straight after this bit of code checks for parenthesis owners, but `T_CASE` is not a token which can be marked as a parenthesis owner, so will never match.
@jrfnl jrfnl added this to the 4.0.1 milestone Oct 17, 2025
@jrfnl jrfnl merged commit abc0072 into 4.x Oct 17, 2025
69 checks passed
@jrfnl jrfnl deleted the feature/squiz-disallowmultipleassignments-minor-tweak branch October 17, 2025 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant