devdrops / php-pre-commit

:octocat: Git pre-commit hook designed for PHP projects.
MIT License
14 stars 1 forks source link

Support tools from Docker container #11

Open devdrops opened 7 years ago

devdrops commented 7 years ago

The check below blocks the usage of tools from inside a container.

##########
# First: check if PHP Code_Sniffer and PHPMD bin files are present && executable.
##########
#if [ ! -x $PHPCS_BIN ] || [ ! -x $PHPMD_BIN ]; then
#    tput setaf 1; echo "Executable not found. Check $PHPCS_BIN and $PHPMD_BIN."
#    exit 1
#fi

Also there are other details that require tests and tests and moar tests.