-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
26 lines (23 loc) · 983 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
<?xml version="1.0"?>
<!--
~ This file is part of graze/dal
~
~ Copyright (c) 2017 Nature Delivered Ltd. <https://www.graze.com>
~
~ For the full copyright and license information, please view the LICENSE
~ file that was distributed with this source code.
~
~ @license https://github.com/graze/dal/blob/master/LICENSE.md
~ @link https://github.com/graze/dal
-->
<ruleset name="graze/standards">
<description>The graze PHP coding standard as defined in graze/standards.</description>
<rule ref="vendor/graze/standards/PHP/CodeSniffer/Graze/ruleset.xml"/>
<rule ref="Graze.Naming.AbstractClassNaming">
<!-- Excluded because fixing would be a bc break in a deprecated class, not worth it -->
<exclude-pattern>*/src/Adapter/ActiveRecordAdapter.php</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.FunctionComment">
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing" />
</rule>
</ruleset>