annotate vendor/drupal/coder/phpcs.xml.dist @ 0:c75dbcec494b
Initial commit from drush-created site
author |
Chris Cannam |
date |
Thu, 05 Jul 2018 14:24:15 +0000 |
parents |
|
children |
a9cd425dd02b |
rev |
line source |
Chris@0
|
1 <?xml version="1.0"?>
|
Chris@0
|
2 <ruleset name="drupal_coder">
|
Chris@0
|
3 <description>The coding standard for coder_sniffer.</description>
|
Chris@0
|
4
|
Chris@0
|
5 <file>coder_sniffer</file>
|
Chris@0
|
6
|
Chris@0
|
7 <exclude-pattern>*/Test/*</exclude-pattern>
|
Chris@0
|
8
|
Chris@0
|
9 <rule ref="PHPCS" />
|
Chris@0
|
10
|
Chris@0
|
11 <!-- The following sniffs are disabled because we don't want them -->
|
Chris@0
|
12 <rule ref="PEAR.Commenting.FileComment">
|
Chris@0
|
13 <exclude name="PEAR.Commenting.FileComment.MissingAuthorTag"/>
|
Chris@0
|
14 <exclude name="PEAR.Commenting.FileComment.MissingLicenseTag"/>
|
Chris@0
|
15 <exclude name="PEAR.Commenting.FileComment.MissingVersion"/>
|
Chris@0
|
16 </rule>
|
Chris@0
|
17 <rule ref="PEAR.Commenting.ClassComment">
|
Chris@0
|
18 <exclude name="PEAR.Commenting.ClassComment.CategoryTagOrder"/>
|
Chris@0
|
19 <exclude name="PEAR.Commenting.ClassComment.MissingAuthorTag"/>
|
Chris@0
|
20 <exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag"/>
|
Chris@0
|
21 </rule>
|
Chris@0
|
22 <rule ref="PEAR.NamingConventions.ValidFunctionName">
|
Chris@0
|
23 <exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/>
|
Chris@0
|
24 </rule>
|
Chris@0
|
25 <rule ref="Generic.Files.LineLength">
|
Chris@0
|
26 <exclude name="Generic.Files.LineLength.TooLong"/>
|
Chris@0
|
27 </rule>
|
Chris@0
|
28 <rule ref="Generic.Commenting.Todo">
|
Chris@0
|
29 <exclude name="Generic.Commenting.Todo.TaskFound"/>
|
Chris@0
|
30 <exclude name="Generic.Commenting.Todo.CommentFound"/>
|
Chris@0
|
31 </rule>
|
Chris@0
|
32
|
Chris@0
|
33 <!-- The following sniffs are disabled because Coder is not compliant yet, see
|
Chris@0
|
34 https://www.drupal.org/node/2734539 -->
|
Chris@0
|
35 <rule ref="PEAR.Commenting.FunctionComment.MissingParamComment">
|
Chris@0
|
36 <exclude-pattern>*/DrupalPractice/Sniffs/CodeAnalysis/VariableAnalysisSniff.php</exclude-pattern>
|
Chris@0
|
37 </rule>
|
Chris@0
|
38
|
Chris@0
|
39 </ruleset>
|