-
Notifications
You must be signed in to change notification settings - Fork 3
Coding Standards Fixer installation
Anatoly Nekhay edited this page Jan 12, 2019
·
1 revision
Go to the directory /usr/local/bin
to install the fixer globally:
cd /usr/local/bin
Download the latest version of the php-cs-fixer.phar
from the page:
wget https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.14.0/php-cs-fixer.phar
Rename the file:
mv php-cs-fixer.phar php-cs-fixer
Set the file permissions:
chmod 0755 php-cs-fixer
Check that everything worked out:
cd ~ && php-cs-fixer --version
Have questions?
Ask your questions in our chat:
Get more features for your application using Awesome PSR-15 Middleware