Closed vonglasow closed 7 years ago
php-cs-fixer version 1.xx.xx works with this current configuration file Devtools/Resource/PHPCSFixer/ConfigurationFile.php but for the version 2 everything have changed.
Devtools/Resource/PHPCSFixer/ConfigurationFile.php
Now we need to use --config instead of --config-file to specify the configuration file All classes have been moved into another namespace and the api is completely changed. @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/19f3e46b09e0de24efa0aea6c2beb42410e37cc8/.php_cs.dist
--config
--config-file
As you can see also the definition of all rules to check have been change from string to an array.
php-cs-fixer version 1.xx.xx works with this current configuration file
Devtools/Resource/PHPCSFixer/ConfigurationFile.php
but for the version 2 everything have changed.Now we need to use
--config
instead of--config-file
to specify the configuration file All classes have been moved into another namespace and the api is completely changed. @see https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/19f3e46b09e0de24efa0aea6c2beb42410e37cc8/.php_cs.distAs you can see also the definition of all rules to check have been change from string to an array.