Skip to content

PHP_CodeSniffer HowTo validate files automatically

Sven Kiera edited this page Jul 5, 2015 · 1 revision

WikiToolsPHP_CodeSnifferHowTo validate files automatically

HowTo validate files automatically

By default PHP CodeSniffer Validator will run on manual and automatic build. To change these behaviour follow these steps:

1. From the menu bar select Window -> Preferences

2. From the tree view of Preferences page select Validation. On this page your find the PHP CodeSniffer Validator and all other validators.

3. To deactivate the PHP CodeSniffer Validator* on Manual or automatic Build, uncheck the according checkbox.

4. To change filter rules which resource will be validated, push . By default only PHP files are validated.

For general help with validators look at this Validation Tutorial.