-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathphpcs.xml.dist
32 lines (28 loc) · 1.16 KB
/
phpcs.xml.dist
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
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards for Plugins">
<description>Generally-applicable sniffs for WordPress plugins</description>
<rule ref="WordPress">
<exclude name="Squiz.Commenting.FileComment" />
<exclude name="Squiz.Commenting.VariableComment" />
<exclude name="Squiz.Commenting.FunctionComment" />
<exclude name="WordPress.PHP.NoSilencedErrors.Discouraged" />
<exclude name="WordPress.WP.AlternativeFunctions.file_system_read_file_put_contents" />
<exclude name="Generic.Commenting.DocComment.MissingShort" />
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
<exclude name="Squiz.Commenting.FunctionCommentThrowTag.WrongNumber" />
</rule>
<arg name="extensions" value="php"/>
<file>includes</file>
<file>tests</file>
<file>font-awesome.php</file>
<file>font-awesome-init.php</file>
<file>index.php</file>
<file>v3shims.php</file>
<file>defines.php</file>
<file>admin/index.php</file>
<file>admin/views/main.php</file>
<!-- Show progress and sniff codes in all reports -->
<arg value="ps"/>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>