forked from cakephp/cakephp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
22 lines (19 loc) · 656 Bytes
/
phpcs.xml
File metadata and controls
22 lines (19 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<ruleset name="CakePHP Core">
<file>config/</file>
<file>src/</file>
<file>tests/</file>
<rule ref="CakePHP"/>
<!-- 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>