'match' branches and closing brace not properly aligned when 'match' is used with named arguments
‘match’ branches in function calls are currently aligned to left and intended from there, which is correct for function calls which do not use named arguments. But with named arguments, the alignment should be to the colon of the named argument.
Current formatting:
$result = someFunctionCall( arg1: match ($someVar) { '0' => false, '1' => true, default => null });
How it should be formatted:
$result = someFunctionCall( arg1: match ($someVar) { '0' => false, '1' => true, default => null });
请先登录再写评论。