Skip to content
A script for in parallell checking multiple specific files in PHPMD.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
README.md
package.json

README.md

MultiPHPMD

A script for in parallell checking multiple specific files in PHPMD.

Install

First install PHPMD, Node (I use Homebrew for Node) and NPM, then do:

git clone http://github.com/voxpelli/node-multiphpmd.git
cd node-multiphpmd
npm install -g

Example

To check all staged files in git, do:

git diff --name-only --staged | multiphpmd codesize,unusedcode,naming,design

Or the equivalent shorter:

git diff --name-only --staged | multiphpmd

Support

Flattr this git repo

Something went wrong with that request. Please try again.