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


Step 2



Step 3



Step 4



VoilĂ !

Leave a Reply

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.