WordPress.org

Make WordPress Core

Changeset 45661


Ignore:
Timestamp:
07/19/2019 03:49:26 AM (5 months ago)
Author:
pento
Message:

Coding Standards: Exclude a handful of incorrectly named files that won't be renamed.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r45653 r45661  
    271271        <exclude-pattern>/src/wp-includes/class-wp-dependency\.php</exclude-pattern>
    272272    </rule>
     273
     274    <!-- Exclude some incorrectly named files that won't be renamed. -->
     275    <rule ref="WordPress.Files.FileName.InvalidClassFileName">
     276        <exclude-pattern>/src/wp-admin/includes/class-wp-list-table-compat\.php</exclude-pattern>
     277        <exclude-pattern>/src/wp-includes/class-wp-dependency\.php</exclude-pattern>
     278        <exclude-pattern>/src/wp-includes/class-wp-editor\.php</exclude-pattern>
     279        <exclude-pattern>/src/wp-content/themes/twentyeleven/inc/widgets\.php</exclude-pattern>
     280        <exclude-pattern>/src/wp-content/themes/twentyfourteen/inc/widgets\.php</exclude-pattern>
     281        <exclude-pattern>/src/wp-content/themes/twentyfourteen/inc/featured-content\.php</exclude-pattern>
     282    </rule>
    273283</ruleset>
Note: See TracChangeset for help on using the changeset viewer.