In this video, we discuss how to use git's precommit hook feature to allow us to run our static code analysis tools on just the files we're going to commit to prevent our changes from breaking the build and keeping our code clean.
Looking to hire a PHP developer? Check out LaraJobs: https://larajobs.com/?via=e70744
Follow us:
/ phpdevstv
/ phpdevstv
/ phpdevstv
/ phpdeveloperstv
Icons made by Freepik from www.flaticon.com
00:00 Intro
00:46 Exploring the .git Directory
01:55 Our First Pre-Commit Script
03:51 Our Second Pre-Commit Script
09:49 What You Need To Know
10:02 Outro
On this page of the site you can watch the video online Using Precommit Hooks For Static Code Analysis with a duration of hours minute second in good quality, which was uploaded by the user PHP Developers TV 28 June 2022, share the link with friends and acquaintances, this video has already been watched 504 times on youtube and it was liked by 9 viewers. Enjoy your viewing!