Sniff tip: prefer multiline key-based arrays
TomasVotruba opened this issue · 1 comments
TomasVotruba commented
No
$array = [1 => 'one', 2 => 'two', 3 => 'three', 4 => 'four'];
Yes!
$array = [
1 => 'one',
2 => 'two',
3 => 'three',
4 => 'four'
];
TomasVotruba commented
Probably solved in php-cs-fixer