format/arrays/index-brace
In the format-laravel preset. Safe fix.
What it does
Array index should always be written by using square braces.
Configuration
[format.rules]
"arrays/index-brace" = true
To skip it in some files, add a @pun-ignore-file comment.
Replaces
normalize_index_brace(php-cs-fixer)