Make WordPress Core

Changeset 57017 for trunk


Ignore:
Timestamp:
10/27/2023 08:27:33 AM (14 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Remove a redundant section in the phpcs.xml.dist ruleset.

The affected lines already have ignore annotations in the wp-includes/class-wp-block-parser-block.php file itself.

Follow-up to [56048], [56738], [56743], [56751], [56752], [56753].

Props jrf, SergeyBiryukov.
See #59161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r56748 r57017  
    339339    </rule>
    340340
    341     <!-- Allow non-snake-case vars & properties for block-related classes. -->
    342     <rule ref="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase">
    343         <exclude-pattern>/src/wp-includes/class-wp-block-parser\.php</exclude-pattern>
    344         <exclude-pattern>/src/wp-includes/class-wp-block-parser-block\.php</exclude-pattern>
    345     </rule>
    346     <rule ref="WordPress.NamingConventions.ValidVariableName.PropertyNotSnakeCase">
    347         <exclude-pattern>/src/wp-includes/class-wp-block-parser-block\.php</exclude-pattern>
    348     </rule>
    349     <rule ref="WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase">
    350         <exclude-pattern>/src/wp-includes/class-wp-block-parser-block\.php</exclude-pattern>
    351     </rule>
    352 
    353341</ruleset>
Note: See TracChangeset for help on using the changeset viewer.