Issue type
Overview description
The rules field does not seem to be used when set.
Steps to reproduce
- Under Tools > Options > PHP > PHP CS Fixer check the box for --rules= and set the field to array_syntax
- Create a simple PHP file with the following:
- Right click the workarea and run PHP CS Fixer fix command
Actual results
$test = array(); still shows.
Expected results
$test = [];
Your environment (NetBeans and plugin version, e.t.c.)
Windows 10, NetBeans 21, PHP CS Fixer plugin 0.12.0, PHP CS Fixer 3.51.0
Issue type
Overview description
The rules field does not seem to be used when set.
Steps to reproduce
Actual results
$test = array();still shows.Expected results
$test = [];Your environment (NetBeans and plugin version, e.t.c.)
Windows 10, NetBeans 21, PHP CS Fixer plugin 0.12.0, PHP CS Fixer 3.51.0