2020-06-30 16:31:36 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<ruleset name="Custom code">
|
|
|
|
<description>Drupal Coding Standards</description>
|
|
|
|
|
|
|
|
<file>./web/modules/custom</file>
|
|
|
|
<file>./web/themes/custom</file>
|
|
|
|
<arg name="extensions" value="inc,install,module,php,profile,test,theme,yml"/>
|
|
|
|
|
|
|
|
<!-- Exclude third party code.-->
|
|
|
|
<exclude-pattern>./web/sites/*</exclude-pattern>
|
|
|
|
<exclude-pattern>./web/themes/custom/*\.(?!theme$)</exclude-pattern>
|
|
|
|
|
2020-12-17 22:53:24 +00:00
|
|
|
<arg name="colors"/>
|
2020-06-30 16:31:36 +00:00
|
|
|
<arg value="np"/>
|
|
|
|
|
2020-12-17 22:53:24 +00:00
|
|
|
<rule ref="Drupal">
|
|
|
|
<exclude name="Drupal.Commenting.ClassComment.Missing"/>
|
|
|
|
<exclude name="Drupal.Commenting.DataTypeNamespace.DataTypeNamespace"/>
|
|
|
|
<exclude name="Drupal.Commenting.DocComment.MissingShort"/>
|
|
|
|
<exclude name="Drupal.Commenting.FunctionComment.Missing"/>
|
|
|
|
<exclude name="Drupal.Commenting.FunctionComment.MissingReturnComment"/>
|
|
|
|
<exclude name="Drupal.Commenting.VariableComment.Missing"/>
|
2020-06-30 16:31:36 +00:00
|
|
|
</rule>
|
|
|
|
|
2020-12-17 22:53:24 +00:00
|
|
|
<rule ref="DrupalPractice">
|
|
|
|
<exclude name="DrupalPractice.Objects.StrictSchemaDisabled.StrictConfigSchema"/>
|
2020-06-30 16:31:36 +00:00
|
|
|
</rule>
|
|
|
|
</ruleset>
|