Last Updated: February 25, 2016
· 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.