PHP Static Analysis Hook configures GIT pre-commit hook to run a few static analysis tools and block the commit if any of the tools detects code issues. It also symlinks hook to Composer's bin-dir, so that it's code can be versioned in the repository. -
View it on GitHub