Skip to content

History / Customizable sniff properties

Revisions

  • Add an example for escaping static methods

    @janw-me janw-me committed Oct 2, 2024
  • Customizable properties: fix TOC links

    @jrfnl jrfnl committed Aug 21, 2023
  • 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.

    @jrfnl jrfnl committed Aug 21, 2023
  • Updated Customizable sniff properties (markdown)

    @GaryJones GaryJones committed Jun 28, 2023
  • Update custom_test_class_whitelist property information with gotchas and examples

    @GaryJones GaryJones committed Jun 27, 2023
  • 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.

    @jrfnl jrfnl committed Dec 26, 2018
  • Remove WordPress.Whitespace.ArbitraryParenthesesSpacing reference (see #1581)

    @GaryJones GaryJones committed Dec 24, 2018
  • Remove previously deprecated, and now removed properties (see #1554)

    @GaryJones GaryJones committed Dec 24, 2018
  • Minor correction

    @jrfnl jrfnl committed Dec 23, 2018
  • Remove confusing information about array properties vs setting via command line.

    @jrfnl jrfnl committed Dec 23, 2018
  • Remove the "Existing exclusions" section in the "Excluding a group of checks" block.

    @jrfnl jrfnl committed Dec 23, 2018
  • Add note about array property support

    @GaryJones GaryJones committed Dec 23, 2018
  • Array format + VIP removal

    @GaryJones GaryJones committed Dec 23, 2018
  • Remove redundant title

    @GaryJones GaryJones committed Oct 18, 2018
  • Updated Customizable sniff properties (markdown)

    @ocean90 ocean90 committed Oct 1, 2018
  • Add information about the new `treat_files_as_scoped` property in the `WP.GlobalVariablesOverride` sniff as per PR #1457

    @jrfnl jrfnl committed Sep 8, 2018
  • Add information about the properties in the new `PHP.NoSilencedErrors` sniff

    @jrfnl jrfnl committed Aug 28, 2018
  • Add the `WP.DeprecatedParameterValues` sniff to the section on setting the `minimum_supported_version` .

    @jrfnl jrfnl committed Jul 12, 2018
  • Updated Customizable sniff properties (markdown)

    @jrfnl jrfnl committed Jul 12, 2018
  • Update the table of contents to reflect changes to section headers

    @jrfnl jrfnl committed Jul 1, 2018
  • Update the section on the `exclude` property to reflect the change from string to array as per PR #1390

    @jrfnl jrfnl committed Jun 29, 2018
  • Update group list for the `WP.AlternativeFunctions` `exclude` property as per PR #1271 and #1277

    @jrfnl jrfnl committed Jun 29, 2018
  • Update group list for the `VIP.RestrictedFunctions` `exclude` property as per PR #1012 and #1264

    @jrfnl jrfnl committed Jun 29, 2018
  • Add `SafeRedirect` sniff to the list regarding the `exclude` property as per PR #1264

    @jrfnl jrfnl committed Jun 29, 2018
  • Add `RestrictedPHPFunctions` sniff to the list regarding the `exclude` property as per PR #1178

    @jrfnl jrfnl committed Jun 29, 2018
  • Updated text to account for recategorization of sniffs as per PR #1242 and #1260

    @jrfnl jrfnl committed Jun 29, 2018
  • Add note about the PHPCS 3.3.0+ array property

    @jrfnl jrfnl committed Jun 29, 2018
  • Add info on usage of the `minimum_supported_version` property in the `WordPress.WP.AlternativeFunctions` sniff as per PR #1285.

    @jrfnl jrfnl committed Jun 28, 2018
  • Update the property name to ignore new lines for the Arrays.MultipleAssignmentAlignment sniff

    @jrfnl jrfnl committed Oct 23, 2017
  • Updated Customizable sniff properties (markdown)

    @jrfnl jrfnl committed Oct 22, 2017