forked from propelorm/Propel2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
29 lines (22 loc) · 861 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="Propel">
<description>
Propel Coding Standard.
Extends Spryker+Slevomatik Coding Standard.
</description>
<config name="installed_paths" value="../../spryker/code-sniffer"/>
<arg value="nps"/>
<file>src/</file>
<rule ref="Spryker"/>
<rule ref="vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml">
<exclude name="SprykerStrict.TypeHints.ParameterTypeHint"/>
<exclude name="SprykerStrict.TypeHints.PropertyTypeHint"/>
<exclude name="SprykerStrict.TypeHints.ReturnTypeHint"/>
</rule>
<rule ref="Spryker.Internal.SprykerDisallowFunctions">
<properties>
<!-- We want to prevent 8.0+ functions to break 7.4 compatibility -->
<property name="phpVersion" value="7.4"/>
</properties>
</rule>
</ruleset>