Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set Rules from rules field #41

Open
1 of 2 tasks
fearthebeard88 opened this issue Mar 15, 2024 · 0 comments
Open
1 of 2 tasks

Unable to set Rules from rules field #41

fearthebeard88 opened this issue Mar 15, 2024 · 0 comments

Comments

@fearthebeard88
Copy link

fearthebeard88 commented Mar 15, 2024

Issue type

  • bug
  • enhancement

Overview description

The rules field does not seem to be used when set.

Steps to reproduce

  1. Under Tools > Options > PHP > PHP CS Fixer check the box for --rules= and set the field to array_syntax
  2. Create a simple PHP file with the following:
$test = array();
  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant