-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathphpcs.xml
More file actions
30 lines (23 loc) · 865 Bytes
/
phpcs.xml
File metadata and controls
30 lines (23 loc) · 865 Bytes
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
<?xml version="1.0"?>
<ruleset name="SprykerLibrary">
<description>
Spryker Coding Standard.
Extends main Spryker Coding Standard.
All sniffs in ./Sniffs will be auto loaded
</description>
<arg name="tab-width" value="4"/>
<arg value="nps"/>
<exclude-pattern>tests/_tests_files/</exclude-pattern>
<exclude-pattern>tests/_data/</exclude-pattern>
<file>src/</file>
<file>tests/</file>
<rule ref="vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml"/>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>src/Builder/Printer/ClassPrinter\.php</exclude-pattern>
</rule>
<rule ref="Spryker.PHP.DeclareStrictTypesAfterFileDoc">
<properties>
<property name="strictTypesMandatory" value="true"/>
</properties>
</rule>
</ruleset>