Skip to:
Content

BuddyPress.org

Changeset 13972


Ignore:
Timestamp:
07/23/2024 01:39:22 AM (8 months ago)
Author:
espellcaste
Message:

WPCS: stop some rules from being applied to the project.

This is a preliminary list that can be extended or updated afterwards.

See #9174

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r13850 r13972  
    2828    <!-- What to exclude -->
    2929    <exclude-pattern>*/**/tests/</exclude-pattern>
     30
     31    <!-- Exclude those rules. -->
     32    <rule ref="BuddyPress">
     33        <exclude name="WordPress.WP.GlobalVariablesOverride.Prohibited" />
     34        <exclude name="WordPress.NamingConventions.PrefixAllGlobals.DynamicHooknameFound" />
     35        <exclude name="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" />
     36        <exclude name="WordPress.PHP.YodaConditions.NotYoda" />
     37        <exclude name="WordPress.NamingConventions.ValidPostTypeSlug.NotStringLiteral" />
     38        <exclude name="WordPress.PHP.DontExtract.extract_extract" />
     39        <exclude name="WordPress.DB.SlowDBQuery.slow_db_query_meta_key" />
     40        <exclude name="WordPress.DB.SlowDBQuery.slow_db_query_meta_value" />
     41        <exclude name="WordPress.DateTime.RestrictedFunctions.date_date" />
     42    </rule>
    3043</ruleset>
Note: See TracChangeset for help on using the changeset viewer.