WordPress.org

Make WordPress Core

Changeset 44564


Ignore:
Timestamp:
01/11/2019 06:16:35 AM (4 months ago)
Author:
pento
Message:

Coding Standards: Add exceptions for WordPress.Files.FileName.NotHyphenatedLowercase.

See #45934.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r44562 r44564  
    112112    </rule>
    113113
     114    <!-- WPCS1621: These files are expected to use _ instead of -. -->
     115    <rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
     116        <exclude-pattern>/src/_index\.php</exclude-pattern>
     117        <exclude-pattern>/src/wp-admin/_index\.php</exclude-pattern>
     118        <exclude-pattern>/src/wp-content/themes/twentythirteen/taxonomy-post_format\.php</exclude-pattern>
     119        <exclude-pattern>/src/wp-content/themes/twentyfourteen/taxonomy-post_format\.php</exclude-pattern>
     120    </rule>
     121
    114122    <!-- Whitelist test classes for select sniffs. -->
    115123    <rule ref="WordPress.Files.FileName">
Note: See TracChangeset for help on using the changeset viewer.