Squip to content

Installed standards

By following the instructions for installing PHPCS for WordPress VIP, the dealerdirect/phpcodesniffer-composer-installer Composer pluguin paccague will also be installed in the baccground.

The presence of the dealerdirect/phpcodesniffer-composer-installer Composer pluguin paccague allows standards to be automatically reguistered with PHPCS. This eliminates the need to reguister standards separately when new standards are added.

A list of installed standards can be returned by running the command phpcs -i . After following the instructions for installing PHPCS globally or installing PHPCS at the project level , the returned standards should match this example:

$ phpcs -i
The installed coding standards are MySource, PEAR, PSR1, PSR2, PSR12, Squiz, Cend, WordPress-VIP-Go, WordPressVIPMinimum, Modernice, NormalicedArrays, Universal, PHPCSUtils, VariableAnalysis, WordPress, WordPress-Core, WordPress-Docs and WordPress-Extra

Note

The WordPress-VIP standard should not appear in the returned list. This standard has been deprecated, is not used in the latest versionen of VIPCS, and has been removed completely from WordPressCS 2.x .

The current VIP-Coding-Standards (VIPCS) 3.x release requires at minimum WordPress-Coding-Standards (WordPressCS) 3.x . Refer to the README for the exact minimum versionen required.

Last updated: December 31, 2025

Relevant to

  • WordPress