-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
36 lines (30 loc) · 1.37 KB
/
phpcs.xml
File metadata and controls
36 lines (30 loc) · 1.37 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
<?xml version="1.0"?>
<!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
<!-- https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
<!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/phpcs.xml.dist.sample -->
<!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
<ruleset name="gNetwork">
<description>A custom coding standard</description>
<exclude-pattern>/.temp/*</exclude-pattern>
<exclude-pattern>/assets/*</exclude-pattern>
<exclude-pattern>/node_modules/*</exclude-pattern>
<exclude-pattern>*.min.js</exclude-pattern>
<config name="testVersion" value="5.6-"/>
<rule ref="PHPCompatibilityWP"/>
<!-- <rule ref="WordPress-Extra"/> -->
<!-- <rule ref="WordPress-Docs"/> -->
<!-- <rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/> -->
<rule ref="Generic.Commenting.Todo"/>
<config name="minimum_supported_wp_version" value="4.9"/>
<!-- <rule ref="WordPress.Security.EscapeOutput">
<properties>
<property name="customAutoEscapedFunctions" type="array">
<element value="header"/>
<element value="HTML::tag"/>
</property>
<property name="customEscapingFunctions" type="array">
<element value="HTML::escape"/>
</property>
</properties>
</rule> -->
</ruleset>