We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Add an example for escaping static methods
Customizable properties: fix TOC links
Customizable properties: update for WordPressCS 3.0.0 * Verified all intentionally `public` properties are listed and added those which were missing/have been added in WPCS 3.0.0. Note: there are a couple of sniffs which do have inherited `public` properties, but those are not intended to be changed by end-users. In that case, the sniff is not listed on this page. * Verified the list of sniffs allowing for the `exclude` property. Note: some sniffs, for which the `exclude` property would effectively turn the sniff off, have deliberately not been listed. * Updated property names for those properties which were renamed and added a notice about the rename. * Moved information on removed properties/properties on sniffs which were removed, to a separate section at the bottom of the page (in a fold-out). * Updated some of the code samples. * Replace the link about nonce verification with a better one. * Updated some quotes from the WP coding standards manual. * Added link to info on public properties for sniffs from PHPCSExtra. * Updated `WPCS` to `WordPressCS`. * Improved subheaders. * Tidied up table layouts. * Removed non-inclusive language. * Various other minor textual updates. * Updated the Table of Contents to reflect the new page.
Updated Customizable sniff properties (markdown)
Update custom_test_class_whitelist property information with gotchas and examples
Various tweaks, including removing the second property block for the WPCS 2.0.0 removed `ArbitraryParentheses` sniff, updating the TOC and adding "back to top" links.
Remove WordPress.Whitespace.ArbitraryParenthesesSpacing reference (see #1581)
Remove previously deprecated, and now removed properties (see #1554)
Minor correction
Remove confusing information about array properties vs setting via command line.
Remove the "Existing exclusions" section in the "Excluding a group of checks" block.
Add note about array property support
Array format + VIP removal
Remove redundant title
Add information about the new `treat_files_as_scoped` property in the `WP.GlobalVariablesOverride` sniff as per PR #1457
Add information about the properties in the new `PHP.NoSilencedErrors` sniff
Add the `WP.DeprecatedParameterValues` sniff to the section on setting the `minimum_supported_version` .
Update the table of contents to reflect changes to section headers
Update the section on the `exclude` property to reflect the change from string to array as per PR #1390
Update group list for the `WP.AlternativeFunctions` `exclude` property as per PR #1271 and #1277
Update group list for the `VIP.RestrictedFunctions` `exclude` property as per PR #1012 and #1264
Add `SafeRedirect` sniff to the list regarding the `exclude` property as per PR #1264
Add `RestrictedPHPFunctions` sniff to the list regarding the `exclude` property as per PR #1178
Updated text to account for recategorization of sniffs as per PR #1242 and #1260
Add note about the PHPCS 3.3.0+ array property
Add info on usage of the `minimum_supported_version` property in the `WordPress.WP.AlternativeFunctions` sniff as per PR #1285.
Update the property name to ignore new lines for the Arrays.MultipleAssignmentAlignment sniff