Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
Latest commit
56 lines (46 loc) · 1.67 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
56 lines (46 loc) · 1.67 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
52
53
54
55
56
<?xml version="1.0"?>
<rulesetname="GitContributing">
<description>The code standard for your plugin.</description>
<file>.</file>
<!-- Ignore these directories -->
<exclude-pattern>*/dist/*</exclude-pattern>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/vendors/*</exclude-pattern>
<exclude-pattern>*/index.php</exclude-pattern>
<!-- PHP only. We'll use other validators for JS, CSS, etc. -->
<argname="extensions"value="php"/>
<!-- Reporting Configuration -->
<argname="colors" />
<argvalue="sp"/>
<argname="report"value="full"/>
<argname="report"value="summary"/>
<argname="report"value="source"/>
<!-- PHP Rules -->
<configname="testVersion"value="5.6-"/>
<!-- WordPress Rules -->
<ruleref="WordPress">
<excludename="WordPress.VIP"/>
</rule>
<ruleref="WordPress.Files.FileName">
<properties>
<propertyname="strict_class_file_names"value="false"/>
</properties>
<excludename="WordPress.Files.FileName.NotHyphenatedLowercase"/>
</rule>
<ruleref="WordPress.WhiteSpace.ControlStructureSpacing">
<properties>
<propertyname="blank_line_check"value="true" />
</properties>
</rule>
<ruleref="WordPress.WP.DeprecatedFunctions">
<properties>
<propertyname="minimum_supported_version"value="4.8" />
</properties>
</rule>
<ruleref="WordPress.WP.I18n">
<properties>
<propertyname="text_domain"type="array"value="git-contributing" />
</properties>
</rule>
</ruleset>