gulp-phpmd
A gulp plugin for running PHP Mess Detector.
Derivative work of Dmitriy S. Simushev's gulp-phpcs
Requirements
Installation
npm install gulp-phpmd --save-dev
Usage
var gulp = ;var phpmd = ; gulp;
API
phpmd(options)
options.bin
Type: String
Default: 'phpmd'
PHP Mess Detector executable.
options.ruleset
Type: String
The format of the report, for multiple formats just use a comma separated string.
options.ruleset
Type: String
The ruleset to check against
options.minimumpriority
Type: String
pass --mininumpriority to phpmd
options.strict
Type: String
pass --strict to phpmd
License
MIT © Higashi Ryohei