PHPCSExtra
PHPCSExtra copied to clipboard
Please add a sniff to format array key => value pairs
Please add a sniff to format array key => value pairs, like PHPStorm does.
The main difference between already existing sniffs is they do not consider empty lines between key => value pairs. Would be great, if this feature will be configurable, e.g. enable/disable.
A sniff for aligning the arrows is already in the works and will be pulled once I have some time to finish it.
I will take your feature request for a toggle to re-set the alignment requirement on an empty line within an array into account.