-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
51 lines (45 loc) · 2.33 KB
/
Copy pathphpcs.xml
File metadata and controls
51 lines (45 loc) · 2.33 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0"?>
<ruleset name="CloudScale Cleanup">
<description>WordPress Coding Standards configuration for CloudScale Cleanup.</description>
<file>.</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/repo/*</exclude-pattern>
<exclude-pattern>*.min.js</exclude-pattern>
<exclude-pattern>*.min.css</exclude-pattern>
<rule ref="WordPress"/>
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array">
<element value="cscc" />
<element value="CSCC" />
<element value="CloudScale" />
</property>
</properties>
</rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="cloudscale-cleanup" />
</property>
</properties>
</rule>
<config name="minimum_supported_wp_version" value="6.0" />
<config name="testVersion" value="7.4-" />
<!-- ── Suppress noisy style sniffs — build gate targets security only ──── -->
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"><severity>0</severity></rule>
<rule ref="Universal.WhiteSpace.PrecisionAlignment"><severity>0</severity></rule>
<rule ref="WordPress.Files.FileName"><severity>0</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment"><severity>0</severity></rule>
<rule ref="Squiz.Commenting.FileComment"><severity>0</severity></rule>
<rule ref="Squiz.Commenting.ClassComment"><severity>0</severity></rule>
<rule ref="WordPress.PHP.YodaConditions"><severity>0</severity></rule>
<rule ref="Generic.Files.LineLength"><severity>0</severity></rule>
<rule ref="WordPress.WhiteSpace.OperatorSpacing"><severity>0</severity></rule>
<rule ref="WordPress.WhiteSpace.CastStructureSpacing"><severity>0</severity></rule>
<rule ref="WordPress.WhiteSpace.ControlStructureSpacing"><severity>0</severity></rule>
<rule ref="Universal.Operators.DisallowShortTernary"><severity>0</severity></rule>
<rule ref="Squiz.Commenting.VariableComment"><severity>0</severity></rule>
<rule ref="PSR1.Files.SideEffects"><severity>0</severity></rule>
</ruleset>