Skip to content

Instantly share code, notes, and snippets.

@hairmare hairmare/pre-commit
Created Jun 5, 2015

Embed
What would you like to do?
pre-commit hook for running composer check
#!/bin/sh
#
# Run composer check and abort if issues are found
#
# To enable this hook, put it in ".git/hooks/pre-commit" in a working copy
exec composer check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.