-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruleset.xml
31 lines (23 loc) · 1023 Bytes
/
ruleset.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
31
<?xml version="1.0"?>
<ruleset name="Itgalaxy-Coding-Standards">
<description>
A custom set of code standard rules to check `ItgalaxyCodingStandards` files.
</description>
<config name="installed_paths" value="../../../ItgalaxyCodingStandards"/>
<arg value="sv"/>
<arg name="encoding" value="utf-8"/>
<arg name="extensions" value="php"/>
<!-- Exclude build directory. -->
<exclude-pattern>/build/*</exclude-pattern>
<!-- Exclude the Composer Vendor directory. -->
<exclude-pattern>/vendor/*</exclude-pattern>
<!-- Exclude the Node Modules directory. -->
<exclude-pattern>/node_modules/*</exclude-pattern>
<!-- Exclude minified files. -->
<exclude-pattern>*.min.*</exclude-pattern>
<!-- Just samples. -->
<exclude-pattern>/ItgalaxyCodingStandards/GeneralCodingStandard/*</exclude-pattern>
<rule ref="./ItgalaxyCodingStandards">
<exclude name="ItgalaxyCodingStandards.Security.EscapeOutput.OutputNotEscaped"/>
</rule>
</ruleset>