We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Go to the directory /usr/local/bin to install the sniffer globally:
/usr/local/bin
cd /usr/local/bin
Download the latest version of the phpcs.phar from the page:
phpcs.phar
wget https://github.com/squizlabs/PHP_CodeSniffer/releases/download/3.4.0/phpcs.phar
Rename the file:
mv phpcs.phar phpcs
Set the file permissions:
chmod 0755 phpcs
Check that everything worked out:
cd ~ && phpcs --version
Have questions?
Ask your questions in our chat:
Get more features for your application using Awesome PSR-15 Middleware
Read more about PSR-15
Read more about PHP-DI
Read more about Doctrine ORM
Read more about RoadRunner