File tree Expand file tree Collapse file tree 3 files changed +4
-26
lines changed
Expand file tree Collapse file tree 3 files changed +4
-26
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ parameters:
9191 - profile
9292 phpstan :
9393 configuration : .phpstan.qa-drupal.neon
94- level : 8
94+ level : 4
9595 triggered_by :
9696 - php
9797 - inc
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ parameters:
110110 - profile
111111 phpstan :
112112 configuration : .phpstan.qa-drupal.neon
113- level : 8
113+ level : 4
114114 force_patterns :
115115 - " #^web/(modules|themes|profiles)/custom/#"
116116 ignore_patterns :
Original file line number Diff line number Diff line change @@ -7,29 +7,7 @@ parameters:
77 checkMissingIterableValueType : false
88 reportUnmatchedIgnoredErrors : false
99 ignoreErrors :
10- - "#^Unsafe usage of new static\\ (\\)#"
11- - " #^\\Drupal calls should be avoided in classes #"
12- - '#^ (Function |Method Drupal\\[a-zA-Z0-9_\\ ]+:: )[a-zA-Z0-9_ ]+\ (\ ) has parameter .* no typehint specified #'
13- - '#^ (Function |Method Drupal\\[a-zA-Z0-9_\\ ]+:: )[a-zA-Z0-9_ ]+\ (\ ) has no return typehint specified #'
14- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) has parameter .* no value type specified#'
15- path : *.module
16- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) return type has no value type specified#'
17- path : *.module
18- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) has parameter .* no value type specified#'
19- path : *.install
20- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) return type has no value type specified#'
21- path : *.install
22- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) has parameter .* no value type specified#'
23- path : *.theme
24- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) return type has no value type specified#'
25- path : *.theme
26- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) has parameter .* no value type specified#'
27- path : *.profile
28- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) return type has no value type specified#'
29- path : *.profile
30- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) has parameter .* no value type specified#'
31- path : *.inc
32- - message : ' #^Function [a-zA-Z0-9\\_]+\(\) return type has no value type specified#'
33- path : *.inc
10+ - "#Unsafe usage of new static\\ (\\)#"
11+ - " #\\Drupal calls should be avoided in classes #"
3412 excludes_analyse :
3513 - "*/node_modules/*"
You can’t perform that action at this time.
0 commit comments