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

bug: Fix BinaryOperatorSpacesFixer adding whitespace outside PHP blocks #6476

Merged
merged 1 commit into from Jul 13, 2022

Conversation

jrmajor
Copy link
Contributor

@jrmajor jrmajor commented Jul 11, 2022

Prevents TokensAnalyzer::isBinaryOperator() from treating [T_INLINE_HTML, '-'] as operator. Fixes #6443.

@coveralls
Copy link

coveralls commented Jul 11, 2022

Coverage Status

Coverage remained the same at 92.831% when pulling c4eae40 on jrmajor:bugfix/bin-spaces-html into c91c354 on FriendsOfPHP:master.

@keradus keradus merged commit 93beae7 into PHP-CS-Fixer:master Jul 13, 2022
@jrmajor jrmajor deleted the bugfix/bin-spaces-html branch July 17, 2022 13:50
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.

binary_operator_spaces adding whitespace around hyphen outside php block
3 participants