forked from contributte/translation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruleset.xml
27 lines (27 loc) · 1.23 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>
<rule ref="./vendor/ninjify/coding-standard/contributte.xml">
<exclude name="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousSuffix" />
<exclude name="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix" />
<exclude name="SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature.RequiredMultiLineSignature" />
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation">
<exclude name="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName" />
</rule>
<rule ref="SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature">
<properties>
<property name="minLineLength" type="int" value="0" />
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="extensions" type="array" value="php, phpt" />
<property name="rootNamespaces" type="array">
<element key="src" value="Contributte\Translation" />
<element key="tests/Tests" value="Tests" />
<element key="tests/Fixtures" value="Tests\Fixtures" />
<element key="tests/Toolkit" value="Tests\Toolkit" />
</property>
</properties>
</rule>
</ruleset>