Skip to:
Content

BuddyPress.org

Changeset 14016


Ignore:
Timestamp:
09/02/2024 11:33:33 PM (23 months ago)
Author:
espellcaste
Message:

WPCS: append some new rules from being applied to the project.

Follow-up from [13972].

See #9174

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r14014 r14016  
    3434        <!-- What to exclude -->
    3535        <exclude-pattern>*/**/tests/</exclude-pattern>
     36        <exclude-pattern>*/**/deprecated/</exclude-pattern>
    3637
    3738        <!-- Exclude those rules. -->
     
    4647                <exclude name="WordPress.DB.SlowDBQuery.slow_db_query_meta_value" />
    4748                <exclude name="WordPress.DateTime.RestrictedFunctions.date_date" />
     49
     50                <exclude name="WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound" />
     51                <exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
     52                <exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
     53
     54                <exclude name="WordPress.Security.ValidatedSanitizedInput.InputNotValidated" />
     55                <exclude name="WordPress.Security.ValidatedSanitizedInput.InputNotSanitized" />
     56                <exclude name="WordPress.Security.NonceVerification.Missing" />
     57                <exclude name="WordPress.Security.NonceVerification.Recommended" />
     58                <exclude name="WordPress.Security.ValidatedSanitizedInput.MissingUnslash" />
     59                <exclude name="WordPress.DB.DirectDatabaseQuery.NoCaching" />
     60
     61                <exclude name="WordPress.DB.PreparedSQL.InterpolatedNotPrepared" />
     62                <exclude name="WordPress.DB.PreparedSQL.NotPrepared" />
     63                <exclude name="WordPress.DB.DirectDatabaseQuery.SchemaChange" />
     64                <exclude name="WordPress.DB.DirectDatabaseQuery.DirectQuery" />
     65
    4866        </rule>
    4967</ruleset>
Note: See TracChangeset for help on using the changeset viewer.