my config for php-cs-fixer
curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v1.12.1/php-cs-fixer.phar -o php-cs-fixer
or
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v1.12.1/php-cs-fixer.phar -O php-cs-fixer
then
sudo chmod a+x php-cs-fixer
then
sudo mv php-cs-fixer /usr/local/bin/php-cs-fixer
sudo php-cs-fixer self-update