Last Updated: February 25, 2016
·
1.247K
· wolg

Automation of PHP Coding Style Check Using Git Hooks

Following coding conventions is a good idea. It increases maintainability of the project, as developers don’t need to spend much efforts working with code written by other developer. However, manual coding style check can be a tedious task, especially when there are new member in a team. Fortunately there are some tools to automate this process. PHP_CodeSniffer used along with Git Hooks will enforce coding style without extra time spent.

http://blog.a2design.biz/blog/2012/08/19/automation-of-php-coding-style-check-using-git-hooks/