-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathphpcs.xml
More file actions
27 lines (20 loc) · 796 Bytes
/
phpcs.xml
File metadata and controls
27 lines (20 loc) · 796 Bytes
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
<?xml version="1.0"?>
<ruleset name="WP Engine Coding Standards">
<description>Coding standards for the current project.</description>
<!-- Only sniff PHP files -->
<arg name="extensions" value="php"/>
<!-- Show sniff codes in all reports -->
<arg value="s"/>
<!-- Up the Memory limit for large plugins -->
<ini name="memory_limit" value="512M"/>
<!-- FILES -->
<file>plugin</file>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*.xml</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>*.asset.php</exclude-pattern>
<exclude-pattern>*/wordpress/*</exclude-pattern>
<rule ref="WP-Engine-Strict"/>
</ruleset>