-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathrulesetStrict.xml
More file actions
49 lines (39 loc) · 2.15 KB
/
rulesetStrict.xml
File metadata and controls
49 lines (39 loc) · 2.15 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
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0"?>
<ruleset name="SprykerStrictCore">
<description>
Spryker Coding Standard for SprykerShop.
Extends main Spryker Coding Standard.
All sniffs in ./Sniffs will be auto loaded
</description>
<config name="php_version" value="80000"/>
<exclude-pattern>*/tests/_support/_generated/*</exclude-pattern>
<exclude-pattern>*/tests/_helpers/*</exclude-pattern>
<exclude-pattern>*/tests/_output/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<rule ref="vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml"/>
<!-- Define your own sniffs here -->
<rule ref="Spryker.Internal.SprykerDisallowFunctions">
<properties>
<!-- We want to prevent 8.4+ functions to break 8.3 compatibility -->
<property name="phpVersion" value="8.3"/>
</properties>
</rule>
<rule ref="vendor/spryker/code-sniffer/Spryker/ruleset.xml">
<!-- Ignore when the signature and doc-block are not equal. -->
<exclude name="Spryker.Commenting.DocBlockParam.SignatureMismatch"/>
<!-- Ignore when the signature has a return but the doc-block not. -->
<exclude name="Spryker.Commenting.DocBlockReturnVoid.ReturnMissing"/>
<exclude name="Spryker.Commenting.DocBlockReturnVoid.ReturnVoidMissing"/>
<exclude name="Spryker.Commenting.DocBlockReturnVoid.ReturnMissingInInterface"/>
<exclude name="Spryker.Commenting.DocBlock.ReturnVoidMissing"/>
<exclude name="Spryker.Commenting.Attributes.ExpectedFQCN"/>
<!-- Ignore when a constant does not have a doc-block. -->
<exclude name="Spryker.Commenting.DocBlockConst.VarDocBlockMissing"/>
<!-- Ignore when there is no doc-block. -->
<exclude name="Spryker.Commenting.DocBlock.DocBlockMissing"/>
<!-- Ignore when there is no doc-block on the __construct or __destruct method. -->
<exclude name="Spryker.Commenting.DocBlock.ConstructDesctructMissingDocBlock"/>
<!-- [ACCEPTED] RFC: Stop adding Bridges in Spryker Core. -->
<exclude name="Spryker.DependencyProvider.FacadeNotInBridgeReturned"/>
</rule>
</ruleset>