2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/dev/phpcheckstyle
Laurent Destailleur c58c4a8fb8 Qual: Add phpcheckstyle
2010-07-21 21:57:23 +00:00
..
2010-07-21 21:57:23 +00:00
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