forked from Wavyzz/dolibarr
21 lines
776 B
Plaintext
21 lines
776 B
Plaintext
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 |