Integrate php Code
Sniffer with PhpStorm
Precondition : Ubuntu - Window user, PhpStorm IDE
Precondition : Ubuntu - Window user, PhpStorm IDE
First you need to
download Php Code sniffer ( manually or through command line ) :
http://pear.php.net/package/PHP_CodeSniffer/download
Extract the following file.
Validate the file,
if it turn green then validation is success.
How to use
In PhpStorm, access
Code/Inspect Code… and browse the Inspection Profile, tick in the
PHP Code Sniffer validation, choose your coding standard base on your
project and framework.
0 Comments:
Post a Comment