-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpcs.xml
More file actions
20 lines (16 loc) · 773 Bytes
/
phpcs.xml
File metadata and controls
20 lines (16 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<ruleset name="Custom code standards">
<config name="installed_paths" value="standards"/>
<description>The PSR2 coding standard.</description>
<file>src/</file>
<exclude-pattern>config</exclude-pattern>
<rule ref="PSR2">
<exclude name="Generic.Files.LineEndings.InvalidEOLChar"/>
<exclude name="Generic.Files.LineLength.TooLong"/>
</rule>
<rule ref="Glen84.NamingConventions.ValidVariableName.NotCamelCaps"/>
<rule ref="Drupal.Classes.UnusedUseStatement.UnusedUse"/>
<rule ref="Drupal.Commenting.FunctionComment.SpacingAfterParamTag"/>
<rule ref="Drupal.Commenting.FunctionComment.SpacingAfterParamType"/>
<rule ref="Drupal.Commenting.FunctionComment.ParamCommentNotCapital"/>
</ruleset>