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:

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Connecting to %s