ibuildingsnl/qa-tools — pull request #54 by webdevvie (2014-06-05 15:12:59+00:00)
Title: Bugfix/phpmd fixate pdepend to 1.1

Phpmd uses pdepend. The version in phpmd 1.5 's composer.json for pdepend is set to : ">=1.1.1"

The pdepend 2.0.0 version does not appear to work with phpmd 1.5.

It starts throwing out warnings like these when I try to run the pre-commit hook :
PHP Warning: require_once(PHP/Depend/Autoload.php): failed to open stream: No such file or directory in vendor/phpmd/phpmd/src/main/php/PHP/PMD/ParserFactory.php on line 48

This causes the commit to be aborted.

To fix this I've added the 1.1.* version for pdepend in the company project (MD) and my own project.

It would be very nice if this were fixed in the Ibuildings qa-tools. Hence the pull request .