I'm looking for a rule (or a combination of a multiple rules) to wrap super long associative arrays. Maybe based on max line length? (I'm not a CS Fixer expert, sorry if its a dumb idea)
// Remains Untouched
$foo = ['bar' => $bar, 'biz' => $biz];
// Long Assoc Arrays are wrapped and stacked
$foo = ['bar' => $bar, 'biz' => $biz, 'anotherSweetKey' => $totallRadVar, 'longEnoughToBreakLineLengthMax' => $something ];
$foo = [
'bar' => $bar,
'biz' => $biz,
'anotherSweetKey' => $totallRadVar,
'longEnoughToBreakLineLengthMax' => $something
];
If anyone knows whether this exists already, I'd love a clue on which rule to use. Thanks.