-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
ruleset.xml
24 lines (22 loc) · 886 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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Contributte" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<!-- Rulesets -->
<rule ref="./vendor/contributte/qa/ruleset-8.0.xml">
<exclude name="SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable.DisallowedSuperGlobalVariable"/>
</rule>
<!-- Rules -->
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array">
<element key="src" value="Contributte\Codeception"/>
<element key="tests" value="Tests"/>
</property>
<property name="extensions" type="array">
<element key="php" value="php"/>
<element key="phpt" value="phpt"/>
</property>
</properties>
</rule>
<!-- Excludes -->
<exclude-pattern>/tests</exclude-pattern>
</ruleset>