-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
49 lines (40 loc) · 1.86 KB
/
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
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="Spryker App Store Suite">
<description>
Spryker Coding Standard for the App Store Suite.
Extends the main Spryker Coding Standard.
All sniffs in ./Sniffs will be auto loaded
</description>
<config name="php_version" value="82000"/>
<file>src/SprykerSdk</file>
<file>tests/</file>
<exclude-pattern>*/src/Generated/*</exclude-pattern>
<exclude-pattern>*/src/Orm/*/Base/</exclude-pattern>
<exclude-pattern>*/src/Orm/*/Map/</exclude-pattern>
<exclude-pattern>*/src/Orm/Propel/</exclude-pattern>
<exclude-pattern>*/tests/_support/_generated/*</exclude-pattern>
<exclude-pattern>*/tests/_helpers/*</exclude-pattern>
<exclude-pattern>*/tests/_output/*</exclude-pattern>
<exclude-pattern>./docker/*</exclude-pattern>
<exclude-pattern>./data/cache/*</exclude-pattern>
<exclude-pattern>./data/GLOBAL/cache/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<rule ref="vendor/spryker/code-sniffer/Spryker/ruleset.xml">
<exclude name="Spryker.Commenting.DocBlock"/>
<exclude name="Spryker.Commenting.DocBlockParam"/>
<exclude name="Spryker.Commenting.DocBlockReturnVoid"/>
<exclude name="Spryker.Commenting.DocBlockParamAllowDefaultValue"/>
<exclude name="Spryker.Commenting.DisallowArrayTypeHintSyntax"/>
</rule>
<rule ref="vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml">
<exclude name="SprykerStrict.TypeHints.ReturnTypeHint"/>
<exclude name="SprykerStrict.TypeHints.ParameterTypeHint"/>
<exclude name="SprykerStrict.TypeHints.PropertyTypeHint"/>
</rule>
<!-- Define your own sniffs here -->
<rule ref="Spryker.Internal.SprykerDisallowFunctions">
<properties>
<property name="phpVersion" value="8.2"/>
</properties>
</rule>
</ruleset>