forked from mangoweb-backend/presenter-tester
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ruleset.xml
27 lines (23 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
25
26
27
<?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\PresenterTester,
tests/cases=>AppTests\Tester\PresenterTester,
tests/inc=>Tests\Tester\PresenterTester,
"/>
<property name="extensions" type="array" value="php,phpt"/>
</properties>
<exclude name="SlevomatCodingStandard.Functions.DisallowEmptyFunction.EmptyFunction" />
<exclude name="Generic.NamingConventions.CamelCapsFunctionName.ScopeNotCamelCaps" />
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName">
<exclude-pattern>/tests/bootstrap.configurator.php</exclude-pattern>
</rule>
<!-- Exclude folders -->
<exclude-pattern>/tests/tmp</exclude-pattern>
</ruleset>