-
Hi I've tried and it works, but it did just a thing, remove the spaces and some tabs, instead I want to replace array() with [] and other fixes if necessary how can use a configuration file to tell to it to do other things? I use VSC and I can use this extension but I don't know if it is compatible with the Globally installation I need to fix 100 modules with many php files, so I don't want to install it to each module, I prefer a global use is it possible to install it into /usr/local/bin/ of my debian mini server, then set the path to that file into VSC's extension, but I'd like to use a terminal command to each module's folder can you help me? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I found the solution |
Beta Was this translation helpful? Give feedback.
-
Hi require_once implode(DIRECTORY_SEPARATOR, [ from and the same for the arguments of an array? from here I cannot find any parameter that does this thanks |
Beta Was this translation helpful? Give feedback.
php-cs-fixer fix ./ --rules='{"array_syntax": {"syntax": "short"}}'
I found the solution