PhpStorm code sniffer validation using scope

Have you ever wanted to apply php code sniffer validation on certain folders only in PhpStorm (for example when you do plugin development and you want to exclude the core of your libraries)?

Follow these four steps to create custom scope make them available in the inspection column.

Step 1

In > Preferences

step1

Step 2

 

step2

Step 3

 

step3

Step 4

 

step4

VoilĂ !

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.