I installed PHPCS via composer, and checked the PATH to ensure it exists but it's not being recognized when I run the command. I've used both of the following commands to install and it's still not found after either installation:
composer global require "squizlabs/php_codesniffer=*"
.
composer global require squizlabs/php_codesniffer
Here's a screenshot of the command line showing that PHPCS has been installed, but it can't be found.
I've reviewed a bunch of other forums about similar issues but most of them say that it's an issue with installation via PEAR (which I didn't use) or an issue with the PATH (which also doesn't seem to be my problem). Any ideas how to get the command line to recognize the PHPCS installation?