format/arrays/no-space-around-offset
In the format-laravel preset. Safe fix.
What it does
There MUST NOT be spaces around offset braces.
Configuration
[format.rules]
"arrays/no-space-around-offset" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
positions |
list |
inside, outside |
["inside", "outside"] |
positions |
Replaces
no_spaces_around_offset(php-cs-fixer)