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.

--

--

Check https://setkyar.com for more blogs.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store