digitalpulp / pre-commit-php

Pre-commit scripts appropiate for *any* PHP project. These hooks are made as custom plugins under the [pre-commit](http://pre-commit.com/#new-hooks) git hook framework.
https://www.digitalpulp.com
Apache License 2.0
54 stars 36 forks source link

Add argument for php-unit pre-commit vendor path? #15

Open jasonglisson opened 3 years ago

jasonglisson commented 3 years ago

I have a unique setup using docker and my composer file as well as vendor directory are nested on directory inside of the project. The Pre-commit checkout keeps saying:

Please have one available as one of the following:

PHPUnit is found at docroot/vendor/bin/phpunit in my project but I can't figure out how to get this recognized.