-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
23 lines (20 loc) · 916 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
<?xml version="1.0"?>
<ruleset name="PHP_CodeSniffer">
<description>Coding standards</description>
<!-- Include the whole PSR2 standard -->
<rule ref="PSR2"/>
<!-- Include some sniffs from other standards that don't conflict with PSR2 -->
<rule ref="Generic.Commenting.DocComment"/>
<rule ref="Squiz.Commenting.BlockComment"/>
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
<rule ref="Squiz.Commenting.EmptyCatchComment"/>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag"/>
<rule ref="Squiz.Commenting.InlineComment"/>
<rule ref="Squiz.Commenting.LongConditionClosingComment"/>
<rule ref="Squiz.Commenting.PostStatementComment"/>
<rule ref="Squiz.Commenting.VariableComment"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<rule ref="PSR1.Methods.CamelCapsMethodName">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
</ruleset>