Setting up PHPCS and PreCommit Githooks to a Laravel Project

When we start the project, we always say “we will use proper coding standard and let’s do the code review”. Every time, when someone makes a pull request, we have to comment about coding standard errors all the time. Stop wasting time, let’s PHP_CodeSniffer do for you.