pre-commit-php
pre-commit-php copied to clipboard
Pre-commit scripts appropriate for any PHP project. These hooks are made as custom plugins under the pre-commit git hook framework.
This feature extends the php-unit hook to allow a custom command for the php-unit tests. This is useful if you want to use https://github.com/fiunchinho/phpunit-randomizer or if you have a more...
FreeBSD doesn't have bash installed by default, and when you do install it, it goes to /usr/local/bin/bash. This change should allow the scripts to run regardless of where bash is...
## Feature [PHP Copy Paste Detector](https://github.com/sebastianbergmann/phpcpd) is a QA tool that can be used to find duplicate code. This adds a new pre-commit-php hook for calling `phpcpd`. ## Implementation This...
## Feature [PHP Mess Detector](http://phpmd.org/) is a QA tool that can be used to test for cyclomatic and NPath complexity, naming conventions, and a collection of potential bugs. This adds...