Answer the question
In order to leave comments, you need to log in
How to make sure PHP Codesniffer works?
I use OS X and the Atom editor. What I did:
1. Installed pear
2. Added the path to PATH
/Users/Pave/pear/bin
pear install PHP_CodeSniffer
/Users/Pave/pear/bin/phpcbfand the PSR2 standard
/Users/Pave/pear/bin/phpcs
if(true){
//
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question