-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathphpcs.xml
30 lines (25 loc) · 1.05 KB
/
phpcs.xml
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
<?xml version="1.0"?>
<ruleset name="Bandstand">
<file>./</file>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<arg name="extensions" value="php" />
<arg name="report-file" value="phpcs.log" />
<rule ref="WordPress">
<exclude name="WordPress-VIP" />
<exclude name="Squiz.Commenting.BlockComment.NoCapital" />
<exclude name="Squiz.Commenting.BlockComment.NoEmptyLineBefore" />
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
<exclude name="Squiz.Commenting.InlineComment.NoSpaceBefore" />
<exclude name="Squiz.Commenting.InlineComment.NotCapital" />
<exclude name="Squiz.Commenting.InlineComment.SpacingAfter" />
<exclude name="Generic.Files.LowercasedFilename" />
</rule>
<rule ref="WordPress.XSS.EscapeOutput">
<properties>
<property name="customAutoEscapedFunctions" value="bandstand_timezone_choice" type="array" />
<property name="customEscapingFunctions" value="" type="array" />
</properties>
</rule>
</ruleset>