forked from mangoweb-backend/tester-infrastructure
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruleset.xml
24 lines (22 loc) · 1.05 KB
/
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"?>
<ruleset>
<!-- Contributte Coding Standard -->
<rule ref="./vendor/contributte/qa/ruleset.xml"/>
<!-- Specific rules -->
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array" value="
src=>Webnazakazku\MangoTester\Infrastructure,
tests/cases=>Tests\Tester\Infrastructure,
tests/src=>Tests\Tester\Infrastructure,
"/>
<property name="extensions" type="array" value="php,phpt"/>
</properties>
<exclude name="SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable.DisallowedSuperGlobalVariable" />
<exclude name="SlevomatCodingStandard.Functions.DisallowEmptyFunction.EmptyFunction" />
<exclude name="SlevomatCodingStandard.Functions.RequireArrowFunction.RequiredArrowFunction" />
<exclude name="SlevomatCodingStandard.Classes.ClassStructure.IncorrectGroupOrder" />
</rule>
<!-- Exclude folders -->
<exclude-pattern>/tests/tmp</exclude-pattern>
</ruleset>