-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
22 lines (17 loc) · 872 Bytes
/
phpcs.xml
File metadata and controls
22 lines (17 loc) · 872 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="graze/standards">
<description>The graze PHP coding standard as defined in graze/standards.</description>
<!-- Include all sniffs in the Graze standard. -->
<rule ref="vendor/graze/standards/PHP/CodeSniffer/Graze/ruleset.xml" />
<rule ref="Squiz.Commenting.FunctionComment">
<exclude name="Squiz.Commenting.FunctionComment.InvalidReturnVoid" />
</rule>
<rule ref="Squiz.Commenting.FunctionComment">
<!-- excluded because it can't be used for both php 5 and 7 -->
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing" />
</rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps">
<!-- excluded because it's handling raw database query results -->
<exclude-pattern>*/src/Extractor.php</exclude-pattern>
</rule>
</ruleset>