format/arrays/list-syntax
In the format-laravel preset. Safe fix.
What it does
List (array destructuring) assignment should be declared using the configured syntax.
Configuration
[format.rules]
"arrays/list-syntax" = true
To skip it in some files, add a @pun-ignore-file comment.
Options
| Name | Type | Allowed values | Default | Upstream name |
|---|---|---|---|---|
syntax |
enum |
long, short |
"short" |
syntax |
Replaces
list_syntax(php-cs-fixer)