-
Notifications
You must be signed in to change notification settings - Fork 555
Enhancement: Enable array_syntax
fixer
#659
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
array_syntax
fixer
09a599a
to
56a91e4
Compare
a93c965
to
f616e01
Compare
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.
Thank you! Fine for me, but maybe others prefer the classic array()
syntax (at least in some cases).
We could also configure the fixer to use long syntax. |
Well, I prefer the short syntax (nowadays for all cases). I just don't want to go ahead and merge, to give others time to object. |
Please use short syntax only. The long array syntax is less readable most of the time. |
a8cb04c
to
0c8f37d
Compare
f2e1b35
to
1cc889a
Compare
Co-authored-by: Andreas Möller <[email protected]> Co-authored-by: MathiasReker <[email protected]>
Co-authored-by: Andreas Möller <[email protected]> Co-authored-by: MathiasReker <[email protected]>
1d5e0c4
to
35c52fd
Compare
Thank you! |
Thank you, @cmb69 and @kamil-tekiela! |
This pull request
array_syntax
fixermake coding-standards
Replaces #532.
Follows #559.
💁♂️ For reference, see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v3.4.0/doc/rules/array_notation/array_syntax.rst.