forked from propelorm/Propel2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
41 lines (32 loc) · 1.14 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
<?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>
<exclude-pattern>*/templates/*</exclude-pattern>
<rule ref="Spryker"/>
<rule ref="vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml">
<exclude name="SprykerStrict.TypeHints.ParameterTypeHint"/>
<exclude name="SprykerStrict.TypeHints.PropertyTypeHint"/>
</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>