File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 62
62
<!-- Drupal -->
63
63
<rule ref =" Drupal" />
64
64
65
+ <!-- Undo the DeclareStrictTypesMissing ignore introduced by
66
+ https://www.drupal.org/project/coder/issues/3407995
67
+ This must be placed after the above ref="Drupal"
68
+ -->
69
+ <rule ref =" SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing" >
70
+ <severity >5</severity >
71
+ </rule >
72
+
65
73
<!-- Drupal.Arrays -->
66
74
<rule ref =" Drupal.Arrays.Array.LongLineDeclaration" ><severity >0</severity ></rule >
67
75
77
85
<rule ref =" Drupal.Commenting.TodoComment.TodoFormat" ><severity >0</severity ></rule >
78
86
<!-- Do not require @var for properties since PHP has property typing -->
79
87
<rule ref =" Drupal.Commenting.VariableComment.Missing" ><severity >0</severity ></rule >
88
+
89
+ <!-- Drupal.Functions -->
90
+ <!-- This duplicates SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration -->
91
+ <rule ref =" Drupal.Functions.MultiLineFunctionDeclaration.MissingTrailingComma" ><severity >0</severity ></rule >
80
92
</ruleset >
Original file line number Diff line number Diff line change 6
6
"require" : {
7
7
"php" : " ^8.0" ,
8
8
"dealerdirect/phpcodesniffer-composer-installer" : " ^1.0.0" ,
9
- "drupal/coder" : " ^8.3.21 " ,
9
+ "drupal/coder" : " ^8.3.24 " ,
10
10
"slevomat/coding-standard" : " ^8.13.2" ,
11
11
"squizlabs/php_codesniffer" : " ^3.7.1"
12
12
},
Original file line number Diff line number Diff line change @@ -7,4 +7,6 @@ parameters:
7
7
- %currentWorkingDirectory%/vendor/squizlabs/php_codesniffer/autoload.php
8
8
excludePaths :
9
9
- %currentWorkingDirectory%/tests/*/fixtures/*
10
- checkGenericClassInNonGenericObjectType : false
10
+ ignoreErrors :
11
+ -
12
+ identifier : missingType.generics
You can’t perform that action at this time.
0 commit comments