diff --git a/build/hooks/pre-commit b/build/hooks/pre-commit index e5d570c3..c33c9c88 100644 --- a/build/hooks/pre-commit +++ b/build/hooks/pre-commit @@ -91,7 +91,7 @@ fi PHPUNIT="tools/phpunit/vendor/bin/phpunit" if [ -x $PHPUNIT ]; then __info "Running phpunit" - XDEBUG_MODE=off php -dxdebug.mode=off $PHPUNIT --testsuite unit + XDEBUG_MODE=off php -dxdebug.mode=off -dapc.enable_cli=1 $PHPUNIT if [ $? -ne 0 ]; then __fail "Unit Tests failed, fix your shit. Can also use --no-verify to skip checks" fi