smashi / git-pre-commit-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

git-pre-commit-php

Check whether a commit would introduce errors

Checks for

  • PHP syntax errors
  • Leftover conflict markers
  • Twig syntax errors

Use this script as a pre-commit hook in Git. For automatic deployment please put this file into $HOME/.git_template/hooks and /etc/skel.

Author: Hakan Kuecuekyilamz, , 2011-10-21.

About


Languages

Language:Shell 100.0%