Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Squiz/DisallowMultipleAssignments: remove irrelevant token #1293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
jrfnl merged 1 commit into 4.x from feature/squiz-disallowmultipleassignments-minor-tweak
Oct 17, 2025

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

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

4.0.1

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /