I am facing this issue in Visual Studio Code. I have already tried reinstalling the phpcs extension but still facing this issue.
Unable to locat
From a GitHub comment.
If someone still needs help about this "Unable to locate phpcs ..." error message, try this: you just need to install
phpcs
globally via Composer.
- Install Composer from this resource if you don't have it,
After Composer is installed, open a command prompt wherever you want and run this command
composer global require squizlabs/php_codesniffer