We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following file:
<?php /* * Some comment goes here */ ?>
Fixing it using phpcbf --standard=PSR2 test.php makes it look like:
phpcbf --standard=PSR2 test.php
<?php ;/* * Some comment goes here */
The semicolon is needed to address #773 but it's only needed when there is something else than whitespace or comment after the opening <?php tag.
<?php
The text was updated successfully, but these errors were encountered:
Fixed bug #2943 : Redundant semicolon added to a file when fixing PSR…
1802f6b
…2.Files.ClosingTag.NotAllowed
Added test files (ref #2943)
a30f08c
e6f5158
Thanks for reporting this bug. The fix will be released in 3.5.6.
Sorry, something went wrong.
No branches or pull requests
Consider the following file:
Fixing it using
phpcbf --standard=PSR2 test.php
makes it look like:The semicolon is needed to address #773 but it's only needed when there is something else than whitespace or comment after the opening
<?php
tag.The text was updated successfully, but these errors were encountered: