-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
29 lines (26 loc) · 1.32 KB
/
phpcs.xml.dist
File metadata and controls
29 lines (26 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
<description>Generally-applicable sniffs for WordPress plugins</description>
<rule ref="WordPress-Core">
<!-- Exclude spacing and formatting rules to minimize cosmetic changes. -->
<exclude name="Generic.ControlStructures.InlineControlStructure" />
<exclude name="Generic.Formatting.MultipleStatementAlignment" />
<exclude name="Generic.WhiteSpace.DisallowSpaceIndent" />
<exclude name="Generic.WhiteSpace.ScopeIndent" />
<exclude name="NormalizedArrays.Arrays.ArrayBraceSpacing" />
<exclude name="NormalizedArrays.Arrays.CommaAfterLast" />
<exclude name="PEAR.Functions.FunctionCallSignature" />
<exclude name="PSR2.Methods.FunctionClosingBrace" />
<exclude name="Squiz.ControlStructures.ControlSignature" />
<exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing" />
<exclude name="Universal.WhiteSpace.DisallowInlineTabs" />
<exclude name="WordPress.Arrays.ArrayDeclarationSpacing" />
<exclude name="WordPress.Arrays.ArrayKeySpacingRestrictions" />
<exclude name="WordPress.WhiteSpace.OperatorSpacing" />
</rule>
<!-- Check all PHP files in directory tree by default. -->
<arg name="extensions" value="php"/>
<file>./rsscloud</file>
<!-- Show progress and sniff codes in all reports -->
<arg value="ps"/>
</ruleset>