format/arrays/trim-spaces
In the format-laravel preset. Safe fix.
What it does
Arrays should be formatted like function/method arguments, without leading or trailing single line space.
Configuration
[format.rules]
"arrays/trim-spaces" = true
To skip it in some files, add a @pun-ignore-file comment.
Replaces
trim_array_spaces(php-cs-fixer)