-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathruleset.xml
25 lines (23 loc) · 879 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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset
name="app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
>
<rule ref="./vendor/contributte/qa/ruleset.xml">
<exclude name="Squiz.Commenting.FunctionComment.MissingParamName"/>
<exclude name="SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable.DisallowedSuperGlobalVariable"/>
</rule>
<!-- Package specific rules -->
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array">
<element key="src" value="Contributte\Sentry"/>
<element key="tests" value="Tests"/>
</property>
<property name="extensions" type="array" value="php,phpt"/>
</properties>
</rule>
<!-- Exclude folders -->
<exclude-pattern>/tests/tmp</exclude-pattern>
</ruleset>