-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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.Strings.EchoedStrings does not properly fix bracketed statements #1150
Labels
Comments
Debug output from --report=diff -vvv:
|
gsherwood
changed the title
Extend EchoedStringsSniff to cover spacing scenario
Squiz.Strings.EchoedStrings does not properly fix bracketed statements
Sep 12, 2016
Thanks for the bug report. I found another issue with the fixer that I also corrected (open brace wasn't given a space before it when needed). |
u01jmg3
added a commit
to uofa/gulp-starter
that referenced
this issue
Sep 27, 2016
Will this be included in |
3.0.1 is not the next 3.x release (3.0.0 isn't out yet), but it will be in both the next 2.x and 3.x releases. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the following rules and PHP, PHPCBF makes an error during correction.
Modifying
EchoedStringsSniff.php#L67
and includingT_WHITESPACE
solves the problem.The text was updated successfully, but these errors were encountered: