-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
29 lines (21 loc) · 1019 Bytes
/
phpcs.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 name="SprykerProject">
<description>
Spryker Coding Standard for Project.
Extends main Spryker Coding Standard.
All sniffs in ./Sniffs will be auto loaded
</description>
<config name="php_version" value="80000"/>
<file>src/</file>
<exclude-pattern>*/tests/_support/_generated/*</exclude-pattern>
<exclude-pattern>*/tests/_helpers/*</exclude-pattern>
<exclude-pattern>*/tests/_output/*</exclude-pattern>
<rule ref="vendor/spryker/code-sniffer/Spryker/ruleset.xml"/>
<rule ref="vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml">
<exclude name="SprykerStrict.TypeHints.ParameterTypeHint"/>
<exclude name="SprykerStrict.TypeHints.PropertyTypeHint"/>
</rule>
<rule ref="SlevomatCodingStandard.Classes.DisallowConstructorPropertyPromotion">
<exclude name="SlevomatCodingStandard.Classes.DisallowConstructorPropertyPromotion.DisallowedConstructorPropertyPromotion"/>
</rule>
</ruleset>