In this post, I’ll wrap up what I began to share yesterday: Using the tools and libraries I’ve shared in conjunction with Composer to sniff your commits during development before the code hits the repository.
Ideally, you’re always going to want to see something like this in your terminal whenever you commit your code:
But that’s not always the case. As with most things, though, the more you practice, the more you’ll get used to writing code that will automatically pass the various sniffs put in place through the different rules (and their customizations).
Before doing that, though, you’ve got to get GrumPHP configured in your repository.