-
Code | Inspect Code...— run it on your files. One of the inspections called “Traditional syntax array literal detected”.Alternatively just run that specific inspection only via
Code | Run Inspection by Name... -
Once done, you will see a list with results. Find that particular inspection in results (in case if 1st option was used (all inspections)).
-
From there you can apply “Fix it” action on all (or individual) results of that inspection.
P.S. This inspection/fix available since PhpStorm v7.1.
