Php Code Sniffer integrated with PhpStorm

Integrate php Code Sniffer with PhpStorm

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.

In PHPStorm, access File/Setting/Code Sniffer and browse to the phpcs 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.


If you liked this article

Let's subscribe the updates of Scuti!
Share on Google Plus

About Anonymous

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 Comments:

Post a Comment