Mercurial > hg > cmmr2012-drupal-site
view 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 |
line wrap: on
line source
<?xml version="1.0"?> <ruleset name="drupal_coder"> <description>The coding standard for coder_sniffer.</description> <file>coder_sniffer</file> <exclude-pattern>*/Test/*</exclude-pattern> <rule ref="PHPCS" /> <!-- The following sniffs are disabled because we don't want them --> <rule ref="PEAR.Commenting.FileComment"> <exclude name="PEAR.Commenting.FileComment.MissingAuthorTag"/> <exclude name="PEAR.Commenting.FileComment.MissingLicenseTag"/> <exclude name="PEAR.Commenting.FileComment.MissingVersion"/> </rule> <rule ref="PEAR.Commenting.ClassComment"> <exclude name="PEAR.Commenting.ClassComment.CategoryTagOrder"/> <exclude name="PEAR.Commenting.ClassComment.MissingAuthorTag"/> <exclude name="PEAR.Commenting.ClassComment.MissingLicenseTag"/> </rule> <rule ref="PEAR.NamingConventions.ValidFunctionName"> <exclude name="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"/> </rule> <rule ref="Generic.Files.LineLength"> <exclude name="Generic.Files.LineLength.TooLong"/> </rule> <rule ref="Generic.Commenting.Todo"> <exclude name="Generic.Commenting.Todo.TaskFound"/> <exclude name="Generic.Commenting.Todo.CommentFound"/> </rule> <!-- The following sniffs are disabled because Coder is not compliant yet, see https://www.drupal.org/node/2734539 --> <rule ref="PEAR.Commenting.FunctionComment.MissingParamComment"> <exclude-pattern>*/DrupalPractice/Sniffs/CodeAnalysis/VariableAnalysisSniff.php</exclude-pattern> </rule> </ruleset>