How to Update WPCS with Composer?

composer global require squizlabs/php_codesniffer
composer global require wp-coding-standards/wpcs
composer global require phpcompatibility/php-compatibility
composer global require dealerdirect/phpcodesniffer-composer-installer
phpcbf
phpcs

Leave a Comment

Your email address will not be published. Required fields are marked *