Skip to content
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

Squiz/SemicolonSpacing: improve handling of semicolons in for control structures #1691

Merged

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Oct 8, 2017

This is a solution for issue #1690 in which I've basically implemented the first of the three options mentioned in the issue.

Selectively exclude semi-colons found within a for() condition when they are preceded by the open parenthesis or by another ;.

Includes unit tests.

Fixes #1690

@gsherwood
Copy link
Member

Thanks for doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants