git-php-syntax-checker

Git PHP Lint Syntax Checker pre-commit hook

5 years after

============================================= Git PHP Lint Syntax Checker pre-commit hook

:Author: Boris Guéry [email protected] :Thansk to: Remigijus Jarmalavicius <remigijus(a)jarmalavicius.lt> :Thanks to: Vytautas Povilaitis <php-checker(a)vytux.lt>

About

GIT hook for PHP parse errors checking before commit.

If you looking same thing for Mercurial DCVS, check this out:

http://www.bitbucket.org/vytux/mercurial-plugin-4-syntax-checking

How to install

To install hook, copy pre-commit file to your project .git/hooks/pre-commit:

$ cp pre-commit .git/hooks/pre-commit;
$ chmod +x .git/hooks/pre-commit;

Now, when you will make some modifications for code and will try to commit, GIT will stop you and tells where problem exist.

Bugs

If you have found any bugs, please track them here:

https://github.com/borisguery/git-php-syntax-checker/issues

Related Repositories

syntastic

syntastic

Syntax checking hacks for vim ...

syntastic

syntastic

Syntax checking hacks for vim ...

php-mode

php-mode

A PHP mode for GNU Emacs ...

php-static-analysis-tools

php-static-analysis-tools

A reviewed list of useful PHP static analysis tools ...

phpcheck-git

phpcheck-git

Tool to check your PHP files from parse errors before commit. ...


Top Contributors

borisguery