Coding Standards: Add exceptions for WordPress.Files.FileName.NotHyphenatedLowercase
.
See #45934. git-svn-id: https://develop.svn.wordpress.org/trunk@44564 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6f0487c2f0
commit
d0f00b58e2
@ -111,6 +111,14 @@
|
||||
<exclude-pattern>/src/wp-includes/template\.php</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
<!-- WPCS1621: These files are expected to use _ instead of -. -->
|
||||
<rule ref="WordPress.Files.FileName.NotHyphenatedLowercase">
|
||||
<exclude-pattern>/src/_index\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-admin/_index\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-content/themes/twentythirteen/taxonomy-post_format\.php</exclude-pattern>
|
||||
<exclude-pattern>/src/wp-content/themes/twentyfourteen/taxonomy-post_format\.php</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
<!-- Whitelist test classes for select sniffs. -->
|
||||
<rule ref="WordPress.Files.FileName">
|
||||
<properties>
|
||||
|
Loading…
Reference in New Issue
Block a user