dolibarr/dev/phpcheckstyle
2011-09-22 10:38:54 +00:00
..
phpstandard.cfg.xml Fix: synchro cvs/git problem !!! fuck fuck fuck 2011-09-22 10:38:54 +00:00
phpstandard.dtd Fix: synchro cvs/git problem 2011-09-22 10:29:37 +00:00
README Qual: Normalize code 2010-07-21 17:14:45 +00:00

README (English)
--------------------------------

This directory contains example of PHPCheckStyle configuration
to use for quality assurance on PHP developpement.

To run PHPCheckstyle in eclipse, you must:
- install plugin PHP Tools integration http://www.phpsrc.org/eclipse/pti/
- Unzip PHPCheckStyle archive into a directory.
- Go in Eclipse - Window - Preferences - Dynamic Languages - Validator
Choose External PHP Script,
Set path ro run.php file for localhost
Choose a PHP version, 
Set parameter string with 
  --src %f --config "phpstandard.cfg.xml" --format console
Choose php as Filename extension
Check Print PHP output to console
Then add patern
    * %f INFO Line:%n - %m     Warning
    * %f WARNING Line:%n - %m  Warning
    * %f ERROR Line:%n - %m    Error