-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruleset.xml
More file actions
34 lines (29 loc) · 1.32 KB
/
ruleset.xml
File metadata and controls
34 lines (29 loc) · 1.32 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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="ImgurImageUpload" namespace="ImgurImageUpload\ImgurImageUpload" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd">
<description>Play Audio Once Coding Standards</description>
<!--
Only scan files with .php extension.
-->
<arg name="extensions" value="php" />
<!--
Directories to exclude.
-->
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/attributes/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/svn/*</exclude-pattern>
<exclude-pattern>*/releases/*</exclude-pattern>
<exclude-pattern>*/app/Dependencies/*</exclude-pattern>
<!-- Use additional rulesets -->
<rule ref="WordPress-Docs"/>
<rule ref="WordPress-Extra"/>
<rule ref="WordPress">
<!-- Exclude direkt db query warnings -->
<exclude name="WordPress.DB.DirectDatabaseQuery"/>
<exclude name="WordPress.DB.PreparedSQL.NotPrepared"/>
<!-- Excluded in favour to match PSR-4-namings of classes. -->
<exclude name="WordPress.Files.FileName"/>
<!-- Exclude override of globals -->
<exclude name="WordPress.WP.GlobalVariablesOverride"/>
</rule>
</ruleset>