What is this? Mainly a reference for me to remember how to set up PHPCS for WordPress on macOS. Install Composer Download Composer and install it. Allow global access. Install PHP CodeSniffer Here's the instructions on how to install it from GitHub. Add phpcs to PATH.