-
Notifications
You must be signed in to change notification settings - Fork 40
/
phpcs.xml
27 lines (27 loc) · 1.46 KB
/
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
24
25
26
27
<?xml version="1.0"?>
<ruleset name="Acquia Subset" namespace="Cohesion\CS\Standard">
<description>A subset of the Acquia coding standards.</description>
<exclude-pattern>/apps/*</exclude-pattern>
<exclude-pattern>/cohesion-services/*</exclude-pattern>
<exclude-pattern>/e2e-tests/*</exclude-pattern>
<exclude-pattern>*/tests/src/*</exclude-pattern>
<rule ref="AcquiaDrupalStrict">
<exclude name="Drupal.Commenting.FunctionComment"/>
<exclude name="Drupal.Commenting.DocComment"/>
<exclude name="Drupal.NamingConventions.ValidFunctionName"/>
<exclude name="Drupal.NamingConventions.ValidClassName"/>
<exclude name="Drupal.NamingConventions.ValidVariableName"/>
<exclude name="Generic.NamingConventions.UpperCaseConstantName"/>
<exclude name="Drupal.Commenting.InlineComment"/>
<exclude name="Drupal.ControlStructures.ControlSignature"/>
<exclude name="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>
<exclude name="DrupalPractice.Objects.GlobalDrupal"/>
<exclude name="DrupalPractice.Objects.GlobalFunction"/>
<exclude name="DrupalPractice.Constants.GlobalConstant"/>
<exclude name="DrupalPractice.Constants.GlobalDefine"/>
<exclude name="DrupalPractice.CodeAnalysis.VariableAnalysis"/>
<exclude name="DrupalPractice.General.OptionsT"/>
<exclude name="PHPCompatibility.Keywords.ForbiddenNamesAsDeclared"/>
<exclude name="SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable"/>
</rule>
</ruleset>