howto - phpcs set default code style standard
I know it is easy but nevertheless it is good to have it on one place. This howto shows how you set up a default coding standard in phpcs. First you have to create or download a code style standard. If you want to create one, try this howto. If you already have a standard, try to untar it to:
/usr/share/php/PHP/CodeSniffer/Standards/You can check if phpcs founds you standard by using:
phpcs -iNext you just want to define it as your default standard by using:
phpcs --config-set default_standard $artodetoStyleGuideThats it, have fun.