jacklenox / VIP-Coding-Standards

PHP_CodeSniffer ruleset to enforce WordPress.com VIP coding standards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VIP-Coding-Standards

This project maintains the minimum ruleset of PHP_CodeSniffer rules (sniffs) to validate code developed for WordPress.com VIP.

The ruleset contains only the rules which are considered being "blockers" according to the WordPress.com VIP documentation

The ruleset takes advantage of existing rules in the WordPress-Coding-Standards project.

Installation

Please refer to the installation instructions of WordPress Coding Standards for PHP_CodeSniffer project.

Minimal requirements

Setup note

Should you wish to run both standards (WordPress.com VIP minimum standard & WordPress.com VIP coding standard), you can add both to PHPCS by running the following configuration command:

phpcs --config-set installed_paths [/path/to/standard],[path/to/standard]

(note the comma separating each standard)

About

PHP_CodeSniffer ruleset to enforce WordPress.com VIP coding standards

License:Other


Languages

Language:PHP 99.5%Language:JavaScript 0.5%