-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathruleset.xml
More file actions
38 lines (34 loc) · 1.54 KB
/
ruleset.xml
File metadata and controls
38 lines (34 loc) · 1.54 KB
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
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Componette">
<!-- Extending ruleset -->
<rule ref="vendor/ninjify/coding-standard/contributte.xml">
<exclude name="Generic.Formatting.SpaceAfterCast.NoSpace"/>
<exclude name="Generic.WhiteSpace.ScopeIndent"/>
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfter"/>
<exclude name="Squiz.Commenting.VariableComment.Missing"/>
<exclude name="SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing"/>
<exclude name="SlevomatCodingStandard.ControlStructures.EarlyExit"/>
<exclude name="SlevomatCodingStandard.ControlStructures.RequireTernaryOperator"/>
<exclude
name="SlevomatCodingStandard.ControlStructures.RequireMultiLineTernaryOperator.MultiLineTernaryOperatorNotUsed"/>
<exclude name="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"/>
</rule>
<!-- Project rules -->
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array" value="
app/model=>App\Model,
app/modules/Front=>App\Modules\Front,
tests=>Tests
"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.DocCommentSpacing.IncorrectLinesCountAfterLastContent">
<exclude-pattern>/app/model/Database/ORM</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.DocCommentSpacing.IncorrectLinesCountBetweenDifferentAnnotationsTypes">
<exclude-pattern>/app/model/Database/ORM</exclude-pattern>
</rule>
<!-- Exclude folders -->
<exclude-pattern>/tests/tmp</exclude-pattern>
</ruleset>