-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpcs.xml.dist
21 lines (17 loc) · 677 Bytes
/
phpcs.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards">
<config name="installed_paths" value="vendor/wp-coding-standards/wpcs" />
<rule ref="WordPress-Core">
<exclude name="WordPress.Arrays.MultipleStatementAlignment" />
<exclude name="Generic.Formatting.MultipleStatementAlignment" />
<exclude name="WordPress.Files.FileName" />
</rule>
<rule ref="WordPress-Docs">
<exclude name="Squiz.Commenting.FileComment" />
</rule>
<arg name="extensions" value="php" />
<arg name="colors" />
<arg value="s" /><!-- Show sniff codes in all reports -->
<exclude-pattern>/node_modules/</exclude-pattern>
<exclude-pattern>/vendor/</exclude-pattern>
</ruleset>