Configuring PHP_CodeSniffer for WordPress VIP

sudo apt install php-codesniffer

php phpcs.phar -h

phpcs -i

composer g config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true

phpcs -i

sudo phpcs –config-set installed_paths installed/path/showed/in/successful/command

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s