-
Notifications
You must be signed in to change notification settings - Fork 3
Code Sniffer Installation
Anatoly Nekhay edited this page Jan 13, 2019
·
1 revision
Go to the directory /usr/local/bin to install the sniffer globally:
cd /usr/local/binDownload the latest version of the phpcs.phar from the page:
wget https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.4.0/phpcs.pharRename the file:
mv phpcs.phar phpcsSet the file permissions:
chmod 0755 phpcsCheck that everything worked out:
cd ~ && phpcs --versionHave questions?
Ask your questions in our chat:
Get more features for your application using Awesome PSR-15 Middleware
