-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Expand file tree
/
Copy pathphpcs.xml
More file actions
26 lines (23 loc) · 786 Bytes
/
phpcs.xml
File metadata and controls
26 lines (23 loc) · 786 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
<?xml version="1.0"?>
<ruleset name="CakePHP Core">
<file>config/</file>
<file>src/</file>
<file>tests/</file>
<rule ref="CakePHP"/>
<arg value="nps"/>
<arg name="colors"/>
<arg name="parallel" value="8"/>
<arg name="cache" value=".phpcs.cache"/>
<!-- Disable standalone true/false/null type hints for BC -->
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
<properties>
<property name="enableStandaloneNullTrueFalseTypeHints" value="false"/>
</properties>
</rule>
<arg value="s"/>
<!-- pretty sure this is a bug in slevomat -->
<rule ref="Internal.Exception">
<severity>0</severity>
<exclude-pattern>src/Collection/functions.php</exclude-pattern>
</rule>
</ruleset>