forked from rtCamp/rt-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.ruleset.xml
More file actions
21 lines (19 loc) · 803 Bytes
/
phpcs.ruleset.xml
File metadata and controls
21 lines (19 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
<description>Generally-applicable sniffs for WordPress plugins</description>
<rule ref="WordPress.NamingConventions.ValidFunctionName">
<exclude-pattern>/tests/*</exclude-pattern><!-- because of PHPUnit method names -->
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
<rule ref="Generic.Files.ByteOrderMark"/>
<rule ref="Generic.PHP.LowerCaseConstant"/>
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
<rule ref="Generic.PHP.NoSilencedErrors" />
<rule ref="Generic.ControlStructures.InlineControlStructure" />
<rule ref="Generic.Files.LineEndings">
<properties>
<property name="eolChar" value="\n"/>
</properties>
</rule>
</ruleset>