forked from lukasojd/degiro-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruleset.xml
29 lines (27 loc) · 1.17 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
28
29
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/ninjify/coding-standard/contributte.xml">
<exclude name="Squiz.Commenting.FunctionComment.InvalidTypeHint"/>
<!-- Useless for yield in tests -->
<exclude name="SlevomatCodingStandard.ControlStructures.ControlStructureSpacing.IncorrectLinesCountBeforeControlStructure"/>
<exclude name="SlevomatCodingStandard.ControlStructures.ControlStructureSpacing.IncorrectLinesCountAfterControlStructure"/>
</rule>
<rule ref="Squiz.Commenting.VariableComment.MissingVar">
<severity>0</severity>
</rule>
<rule ref="Squiz.Commenting.VariableComment.Missing">
<severity>0</severity>
</rule>
<!-- Package specific rules -->
<!-- <rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array" value="
src=>Contributte\Utils,
tests=>Tests\Contributte\Utils,
"/>
<property name="extensions" type="array" value="php, phpt"/>
</properties>
</rule>-->
<!-- Exclude folders -->
<exclude-pattern>/tests/tmp</exclude-pattern>
</ruleset>