$dates = array_map(function ($arr) {
// Either split this list into multiple lines, aligned at column "12" or put all arguments on line "45" return $arr['date']; }, $visits);
// Move the closing parenthesis on the next line.
$form = $this->createForm(new TranslationKeyType(), $entity, array(// Either split this list into multiple lines, aligned at column "12" or put all arguments on line "101". 'action' => $this->generateUrl('translation_create'), 'method' => 'POST' ));
Using one or more multi-line arguments (i.e: arrays or anonymous functions) does not constitute splitting the argument list itself, therefore Section 4.6 is not automatically enforced. Arrays and anonymous functions are able to span multiple lines.
// The following gives "Either split this list into multiple lines..."
somefunction($foo, $bar, array(
// ...
), $baz);
// the following is fine
somefunction($foo, $bar, [
// ...
], $baz);