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

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.

Validation configuration

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.

window_preferences.gif - Window preferences (26.3 KB) Sven Kiera, 08/26/2010 06:50 pm

preferences_validation_php_codesniffer.gif - Validation configuration (45.7 KB) Sven Kiera, 08/26/2010 06:50 pm