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

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside