Setting up PHPCS in GitLab only on changed files
I wanted to save some time on our runners in GitLab and decided to only run phpcs on changed files for that merge request. I also wanted it to run as a git commit hook to try and prevent bad code from even getting pushed up.
What I came up with was t...
guywarner.dev1 min read