Intro as presented on February 8th 2024 at 010PHP, Rotterdam, The Netherlands.
https://www.meetup.com/010php/events/298657250/
---------------------------------------------------------------
Now most of you will have heard of PHP_CodeSniffer as a tool to check your code for consistent code style and common best practices. But are you really getting the most out of it ?
In this interactive session, you can ask Juliette anything you like about PHP_CodeSniffer and she will answer your questions via live demo!
Want to know how to avoid running PHPCS over the whole project via a pre-commit hook when you've changed only a few files ? ask it!
Want to find a sniff for a particular code pattern you want to enforce ? Let's investigate!
Or maybe you are more interested in hearing about some common best practices for setting up a custom ruleset ?
Start thinking of your questions now and be prepared to turn on your mic and speak up!