-
Notifications
You must be signed in to change notification settings - Fork 613
Enhancement: Enable method_argument_space fixer
#648
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
Conversation
cmb69
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you!
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> | ||
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note sure about that, and the next one in this file.
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> | ||
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> | ||
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> | ||
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> | ||
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> | ||
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> | ||
| 'htmlspecialchars($string, ENT_COMPAT | ENT_HTML401, \'UTF-8\', false);' | ||
| );?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, they look all off - hmm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A possibly working quick fix might be to unindent the <?php highlight_php_trimmed( lines. Although it would probably be better to move the highlighting to JS.
100e339 to
cedd04c
Compare
5d7fbd6 to
0dd4966
Compare
|
This has many conflicts. |
d13a435 to
e012211
Compare
9cf26ab to
e075a20
Compare
e075a20 to
29484f9
Compare
This pull request
method_argument_spacefixermake coding-standardsFollows #559.
πββοΈ For reference, see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v3.40.2/doc/rules/function_notation/method_argument_space.rst.