-
Notifications
You must be signed in to change notification settings - Fork 558
Enhancement: Enable braces_position
fixer
#881
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
@@ -24,6 +24,7 @@ | |||
'array_syntax' => true, | |||
'binary_operator_spaces' => true, | |||
'blank_line_after_namespace' => true, | |||
'braces_position' => true, |
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.
Alternatively, this fixer could also be configured with a range of options.
function imgheader($filename) | ||
{ |
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.
I don't like this. Also, I think this fixer should be applied together with indentation fixer.
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.
Maybe #886 helps, @kamil-tekiela?
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.
To be honest, I would hold off with applying either of them. It creates too many changes and I don't know if this project is ready for this yet. I'd rather take small steps here.
I could rebase this pull request after the merge of #934. |
Closing as requested by @pronskiy. |
This pull request
braces_position
fixermake coding-standards
Follows #559.
πββοΈ For reference, see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.40.2/doc/rules/basic/braces_position.rst.