2017 © Pedro Peláez
 

phpcodesniffer-standard wpcs

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

image

wp-coding-standards/wpcs

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  • Saturday, July 28, 2018
  • by Rarst
  • Repository
  • 77 Watchers
  • 1284 Stars
  • 550,349 Installations
  • PHP
  • 372 Dependents
  • 0 Suggesters
  • 259 Forks
  • 166 Open issues
  • 67 Versions
  • 19 % Grown

The README.md

WordPress Coding Standards for PHP_CodeSniffer


Introduction

This project is a collection of PHP_CodeSniffer rules (sniffs) to validate code developed for WordPress. It ensures code quality and adherence to coding conventions, especially the official WordPress Coding Standards., (*1)

This project needs funding. Find out how you can help., (*2)

Minimum Requirements

The WordPress Coding Standards package requires: * PHP 5.4 or higher with the following extensions enabled: - Filter - libxml - Tokenizer - XMLReader * Composer, (*3)

For the best results, it is recommended to also ensure the following additional PHP extensions are enabled: - iconv - Multibyte String, (*4)

Installation

As of WordPressCS 3.0.0, installation via Composer using the below instructions is the only supported type of installation., (*5)

Composer will automatically install the project dependencies and register the rulesets from WordPressCS and other external standards with PHP_CodeSniffer using the Composer PHPCS plugin., (*6)

If you are upgrading from an older WordPressCS version to version 3.0.0, please read the Upgrade guide for ruleset maintainers and end-users first!, (*7)

Composer Project-based Installation

Run the following from the root of your project:, (*8)

composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer require --dev wp-coding-standards/wpcs:"^3.0"

Composer Global Installation

Alternatively, you may want to install this standard globally:, (*9)

composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer global require --dev wp-coding-standards/wpcs:"^3.0"

Updating your WordPressCS install to a newer version

If you installed WordPressCS using either of the above commands, you can upgrade to a newer version as follows:, (*10)

# Project local install
composer update wp-coding-standards/wpcs --with-dependencies

# Global install
composer global update wp-coding-standards/wpcs --with-dependencies

Using your WordPressCS install

Once you have installed WordPressCS using either of the above commands, use it as follows:, (*11)

# Project local install
vendor/bin/phpcs -ps . --standard=WordPress

# Global install
%USER_DIRECTORY%/Composer/vendor/bin/phpcs -ps . --standard=WordPress

Pro-tip: For the convenience of using phpcs as a global command, use the Global install method and add the path to the %USER_DIRECTORY%/Composer/vendor/bin directory to the PATH environment variable for your operating system., (*12)

Rulesets

Standards subsets

The project encompasses a super-set of the sniffs that the WordPress community may need. If you use the WordPress standard you will get all the checks., (*13)

You can use the following as standard names when invoking phpcs to select sniffs, fitting your needs:, (*14)

  • WordPress - complete set with all of the sniffs in the project

Using a custom ruleset

If you need to further customize the selection of sniffs for your project - you can create a custom ruleset file., (*15)

When you name this file either .phpcs.xml, phpcs.xml, .phpcs.xml.dist or phpcs.xml.dist, PHP_CodeSniffer will automatically locate it as long as it is placed in the directory from which you run the CodeSniffer or in a directory above it. If you follow these naming conventions you don't have to supply a --standard CLI argument., (*16)

For more info, read about using a default configuration file. See also the provided WordPressCS phpcs.xml.dist.sample file and the fully annotated example ruleset in the PHP_CodeSniffer documentation., (*17)

Customizing sniff behaviour

The WordPress Coding Standard contains a number of sniffs which are configurable. This means that you can turn parts of the sniff on or off, or change the behaviour by setting a property for the sniff in your custom [.]phpcs.xml[.dist] file., (*18)

You can find a complete list of all the properties you can change for the WordPressCS sniffs in the wiki., (*19)

WordPressCS also uses sniffs from PHPCSExtra and from PHP_CodeSniffer itself. The README for PHPCSExtra contains information on the properties which can be set for the sniff from PHPCSExtra. Information on custom properties which can be set for sniffs from PHP_CodeSniffer can be found in the PHP_CodeSniffer wiki., (*20)

PHPCompatibility

The PHPCompatibility ruleset and its subset PHPCompatibilityWP come highly recommended. The PHPCompatibility sniffs are designed to analyse your code for cross-version PHP compatibility., (*21)

The PHPCompatibilityWP ruleset is based on PHPCompatibility, but specifically crafted to prevent false positives for projects which expect to run within the context of WordPress, i.e. core, plugins and themes., (*22)

Install either as a separate ruleset and run it separately against your code or add it to your custom ruleset, like so:, (*23)

<config name="testVersion" value="7.0-"/>
<rule ref="PHPCompatibilityWP">
    <include-pattern>*\.php$</include-pattern>
</rule>

Whichever way you run it, do make sure you set the testVersion to run the sniffs against. The testVersion determines for which PHP versions you will receive compatibility information. The recommended setting for this at this moment is 7.0- to support the same PHP versions as WordPress Core supports., (*24)

For more information about setting the testVersion, see: * PHPCompatibility: Sniffing your code for compatibility with specific PHP version(s) * PHPCompatibility: Using a custom ruleset, (*25)

VariableAnalysis

For some additional checks around (undefined/unused) variables, the VariableAnalysis standard is a handy addition., (*26)

VIP Coding Standards

For those projects which deploy to the WordPress VIP platform, it is recommended to also use the official WordPress VIP coding standards ruleset., (*27)

How to use

Command line

Run the phpcs command line tool on a given file or directory, for example:, (*28)

vendor/bin/phpcs --standard=WordPress wp-load.php

Will result in following output:, (*29)

--------------------------------------------------------------------------------
FOUND 6 ERRORS AND 4 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------------
  36 | WARNING | error_reporting() can lead to full path disclosure.
  36 | WARNING | error_reporting() found. Changing configuration values at
     |         | runtime is strongly discouraged.
  52 | WARNING | Silencing errors is strongly discouraged. Use proper error
     |         | checking instead. Found: @file_exists( dirname(...
  52 | WARNING | Silencing errors is strongly discouraged. Use proper error
     |         | checking instead. Found: @file_exists( dirname(...
  75 | ERROR   | Overriding WordPress globals is prohibited. Found assignment
     |         | to $path
  78 | ERROR   | Detected usage of a possibly undefined superglobal array
     |         | index: $_SERVER['REQUEST_URI']. Use isset() or empty() to
     |         | check the index exists before using it
  78 | ERROR   | $_SERVER['REQUEST_URI'] not unslashed before sanitization. Use
     |         | wp_unslash() or similar
  78 | ERROR   | Detected usage of a non-sanitized input variable:
     |         | $_SERVER['REQUEST_URI']
 104 | ERROR   | All output should be run through an escaping function (see the
     |         | Security sections in the WordPress Developer Handbooks), found
     |         | '$die'.
 104 | ERROR   | All output should be run through an escaping function (see the
     |         | Security sections in the WordPress Developer Handbooks), found
     |         | '__'.
--------------------------------------------------------------------------------

Using PHPCS and WordPressCS from within your IDE

The wiki contains links to various in- and external tutorials about setting up WordPressCS to work in your IDE., (*30)

Running your code through WordPressCS automatically using Continuous Integration tools

Fixing errors or ignoring them

You can find information on how to deal with some of the more frequent issues in the wiki., (*31)

Tools shipped with WordPressCS

Since version 1.2.0, WordPressCS has a special sniff category Utils., (*32)

This sniff category contains some tools which, generally speaking, will only be needed to be run once over a codebase and for which the fixers can be considered risky, i.e. very careful review by a developer is needed before accepting the fixes made by these sniffs., (*33)

The sniffs in this category are disabled by default and can only be activated by adding some properties for each sniff via a custom ruleset., (*34)

At this moment, WordPressCS offer the following tools: * WordPress.Utils.I18nTextDomainFixer - This sniff can replace the text domain used in a code-base. The sniff will fix the text domains in both I18n function calls as well as in a plugin/theme header. Passing the following properties will activate the sniff: - old_text_domain: an array with one or more (old) text domain names which need to be replaced; - new_text_domain: the correct (new) text domain as a string., (*35)

Contributing

See CONTRIBUTING, including information about unit testing the standard., (*36)

Funding

If you want to sponsor the work on WordPressCS, you can do so by donating to the PHP_CodeSniffer Open Collective., (*37)

License

See LICENSE (MIT)., (*38)

The Versions

28/07 2018

dev-develop

dev-develop

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress phpcs standards

28/07 2018

dev-GaryJones-patch-1

dev-GaryJones-patch-1

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress phpcs standards

27/07 2018

dev-feature/prefix-all-globals-add-metrics

dev-feature/prefix-all-globals-add-metrics

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress phpcs standards

25/07 2018

dev-master

9999999-dev

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress phpcs standards

25/07 2018

1.0.0

1.0.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress phpcs standards

25/07 2018

dev-feature/dry-composer-script

dev-feature/dry-composer-script

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress phpcs standards

24/07 2018

dev-feature/arraydeclarationspacing-improve-handling-trailing-comments

dev-feature/arraydeclarationspacing-improve-handling-trailing-comments

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress phpcs standards

23/07 2018

dev-feature/404-nospacesaroundarraykeys

dev-feature/404-nospacesaroundarraykeys

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress phpcs standards

23/07 2018

dev-gj/title-attributes

dev-gj/title-attributes

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

The Development Requires

wordpress phpcs standards

24/05 2018

dev-feature/remove-more-end-comments

dev-feature/remove-more-end-comments

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

19/05 2018

dev-feature/fix-unnecessary-deprecated-sniff-warnings

dev-feature/fix-unnecessary-deprecated-sniff-warnings

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

31/03 2018

dev-feature/fix-various-escape-output-bugs

dev-feature/fix-various-escape-output-bugs

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

01/03 2018

dev-feature/898-improve-function-call-detection

dev-feature/898-improve-function-call-detection

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

01/03 2018

dev-feature/1202-fix-fixer-removing-return-type

dev-feature/1202-fix-fixer-removing-return-type

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

01/03 2018

dev-feature/719-improve-function-call-detection

dev-feature/719-improve-function-call-detection

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

01/03 2018

dev-feature/move-wpcs-phpcs-file-to-root

dev-feature/move-wpcs-phpcs-file-to-root

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

01/03 2018

dev-feature/1311-prefix-all-globals-WP-overrulable-globals

dev-feature/1311-prefix-all-globals-WP-overrulable-globals

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

16/02 2018

0.14.1

0.14.1.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

09/02 2018

dev-feature/1071-use-statement-order-sniff

dev-feature/1071-use-statement-order-sniff

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

09/02 2018

dev-feature/new-lowercase-typehints-sniff

dev-feature/new-lowercase-typehints-sniff

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

03/02 2018

dev-feature/fix-is-test-class

dev-feature/fix-is-test-class

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

03/02 2018

dev-feature/1200-no-need-to-escape-some-php-constants

dev-feature/1200-no-need-to-escape-some-php-constants

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

03/02 2018

dev-feature/bugfix-depr-params-wp-upload-bits

dev-feature/bugfix-depr-params-wp-upload-bits

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

30/12 2017

dev-feature/alternative-functions-strip-tags

dev-feature/alternative-functions-strip-tags

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

21/12 2017

dev-bug/wp/filesystem-functions

dev-bug/wp/filesystem-functions

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

30/11 2017

dev-feature/new-multi-line-comment-formatting-sniffs

dev-feature/new-multi-line-comment-formatting-sniffs

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

28/11 2017

dev-feature/1157-part-2-rename-sniffs

dev-feature/1157-part-2-rename-sniffs

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

24/11 2017

dev-feature/update-minimum-wp-version-diff

dev-feature/update-minimum-wp-version-diff

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

04/11 2017

dev-issue/172

dev-issue/172

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

01/11 2017

0.14.0

0.14.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

30/10 2017

dev-feature/changelog-0.14.0

dev-feature/changelog-0.14.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

17/10 2017

dev-feature/add-autoescaped-function

dev-feature/add-autoescaped-function

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

26/09 2017

dev-feature/1122-add-multistatement-alignment-sniff

dev-feature/1122-add-multistatement-alignment-sniff

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

25/09 2017

dev-feature/1122-add-array-alignment-sniff

dev-feature/1122-add-array-alignment-sniff

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

23/09 2017

dev-gj/add-use-checks

dev-gj/add-use-checks

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

23/09 2017

dev-issue/1153

dev-issue/1153

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

23/09 2017

dev-feature/make-croninterval-configurable

dev-feature/make-croninterval-configurable

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

09/08 2017

dev-feature/issue-983-precision-alignment-found

dev-feature/issue-983-precision-alignment-found

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

06/08 2017

dev-feature/547-spacing-before-returntype

dev-feature/547-spacing-before-returntype

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

05/08 2017

0.13.1

0.13.1.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

03/08 2017

0.13.0

0.13.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

20/07 2017

0.12.0

0.12.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

13/07 2017

dev-feature/improve-performance

dev-feature/improve-performance

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

20/06 2017

dev-feature/issue-990-encoding

dev-feature/issue-990-encoding

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

20/06 2017

dev-feature/issue-973-multi-line-array-value-indentation

dev-feature/issue-973-multi-line-array-value-indentation

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

18/06 2017

dev-feature/update-deprecated-minimum-version-property

dev-feature/update-deprecated-minimum-version-property

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

15/06 2017

dev-WIP/issue-718-862-phpcs-3.x-compatibility

dev-WIP/issue-718-862-phpcs-3.x-compatibility

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

04/04 2017

dev-feature/update-project-ruleset-example

dev-feature/update-project-ruleset-example

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

04/04 2017

dev-WAIT-upstream-release/feature/issue-910-use-new-token-array

dev-WAIT-upstream-release/feature/issue-910-use-new-token-array

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

04/04 2017

dev-feature/capital-p-dangit

dev-feature/capital-p-dangit

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

21/03 2017

0.11.0

0.11.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

25/02 2017

dev-WAIT-PHPCS/feature/enable-unused-param-check

dev-WAIT-PHPCS/feature/enable-unused-param-check

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

09/02 2017

dev-bugfix/custom-properties-whitelist

dev-bugfix/custom-properties-whitelist

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

08/01 2017

dev-feature/issue-607-extra-rules-part2

dev-feature/issue-607-extra-rules-part2

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

14/09 2016

dev-bugfix/snakecase-vars-whitelist

dev-bugfix/snakecase-vars-whitelist

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

29/08 2016

0.10.0

0.10.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

03/08 2016

dev-WPCS/feature/fixable-in-array

dev-WPCS/feature/fixable-in-array

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

11/07 2016

dev-feature/lint-dogfooding

dev-feature/lint-dogfooding

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

01/02 2016

0.9.0

0.9.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

03/10 2015

0.8.0

0.8.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

31/08 2015

0.7.1

0.7.1.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

30/08 2015

0.7.0

0.7.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

30/06 2015

0.6.0

0.6.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

01/06 2015

0.5.0

0.5.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

13/05 2015

dev-feature/pending-pull-requests

dev-feature/pending-pull-requests

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

01/05 2015

0.4.0

0.4.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards

11/12 2014

0.3.0

0.3.0.0

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards