forked from propelorm/Propel2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
47 lines (38 loc) · 1.4 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
<?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>
<!-- exclude for now -->
<rule ref="Spryker.ControlStructures.NoInlineAssignment">
<severity>0</severity>
</rule>
<rule ref="SlevomatCodingStandard.ControlStructures.AssignmentInCondition.AssignmentInCondition">
<severity>0</severity>
</rule>
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison">
<severity>0</severity>
</rule>
<rule ref="Generic.PHP.NoSilencedErrors">
<severity>0</severity>
</rule>
<rule ref="Squiz.PHP.Eval">
<severity>0</severity>
</rule>
</ruleset>