forked from petrparolek/nette-sandbox-with-mango-tester
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ruleset.xml
29 lines (24 loc) · 990 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
<?xml version="1.0"?>
<ruleset>
<!-- Extending rulesets -->
<rule ref="./vendor/contributte/qa/ruleset.xml"/>
<arg name="extensions" value="php,phpt"/>
<!-- Specific rules -->
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array" value="
app=>App,
tests/cases/integration/presenters=>AppTests\Presenters,
tests/src=>AppTests,
"/>
<property name="extensions" type="array" value="php,phpt"/>
</properties>
</rule>
<rule ref="./vendor/contributte/qa/ruleset.xml">
<!-- Exclude specific rules from imported ruleset -->
<exclude name="SlevomatCodingStandard.Classes.ClassStructure.IncorrectGroupOrder" />
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName">
<exclude-pattern>tests/*.php</exclude-pattern>
</rule>
</ruleset>