-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
pretty-php fails when there is whitespace between a nowdoc operator and its identifier #195
Comments
Thanks for reporting this. The Xdebug error doesn't seem to be related; I imagine that's being reported in The issue here is the space between the So, thank you, and congratulations on discovering this exciting new syntax 😂 The next update will normalise code like |
- Fix issue where nowdocs with whitespace before labels are not detected (reported in #195) - Fix issue where newlines before heredocs at the start of statements are suppressed when strict PSR-12 compliance is enabled
- Fix issue where nowdocs with whitespace before labels are not detected (reported in #195) - Fix issue where newlines before heredocs at the start of statements are suppressed when strict PSR-12 compliance is enabled
Fixed in v0.4.88. The VS Code extension now suppresses Xdebug, too 😊 |
pretty-php throws the following error when using nowdoc in sprintf() in the particular case when:
As an example the following code does not throw any error:
Whereas this one does:
Thanks in advance.
The text was updated successfully, but these errors were encountered: