Bravo Kernel
Tags
Home
Tags
Published on
September 1, 2014

How to set up PHPCS with CakePHP coding standard on Ubuntu

Install required package

sudo apt-get install php-codesniffer

Install the CakePHP Coding Standard

sudo pear channel-discover pear.cakephp.org
sudo pear install cakephp/CakePHP_CodeSniffer

Usage

cd /var/repos
cd <your-repo>
phpcs app -p --extensions=php --standard=CakePHP
Edit this Page on Github
← How to set up Xdebug for PHP5-FPM on Ubuntu
How to fix Shellshock Bash Vulnerability using Chef →
githubtwitter
Bravo Kernel
•
© 2023
•
Bravo Kernel
Powered by Pliny!