-
-
Notifications
You must be signed in to change notification settings - Fork 141
/
phpstan-baseline.neon
121 lines (98 loc) · 3.97 KB
/
phpstan-baseline.neon
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
parameters:
ignoreErrors:
-
message: '#^Match expression does not handle remaining value\: true$#'
count: 1
path: src/PhpGenerator/ClassLike.php
-
message: '#^Method Nette\\PhpGenerator\\ClassType\:\:addTrait\(\) has parameter \$deprecatedParam with no value type specified in iterable type array\.$#'
count: 1
path: src/PhpGenerator/ClassType.php
-
message: '#^Method Nette\\PhpGenerator\\EnumType\:\:addTrait\(\) has parameter \$deprecatedParam with no value type specified in iterable type array\.$#'
count: 1
path: src/PhpGenerator/EnumType.php
-
message: '#^Access to an undefined property PhpParser\\Node\:\:\$attrGroups\.$#'
count: 1
path: src/PhpGenerator/Extractor.php
-
message: '#^Access to an undefined property PhpParser\\Node\\Expr\:\:\$value\.$#'
count: 1
path: src/PhpGenerator/Extractor.php
-
message: '#^Call to an undefined method Nette\\PhpGenerator\\ClassLike\:\:addConstant\(\)\.$#'
count: 1
path: src/PhpGenerator/Extractor.php
-
message: '#^Call to an undefined method Nette\\PhpGenerator\\ClassLike\:\:addMethod\(\)\.$#'
count: 1
path: src/PhpGenerator/Extractor.php
-
message: '#^Call to an undefined method Nette\\PhpGenerator\\ClassLike\:\:addProperty\(\)\.$#'
count: 1
path: src/PhpGenerator/Extractor.php
-
message: '#^Call to an undefined method Nette\\PhpGenerator\\ClassLike\:\:addTrait\(\)\.$#'
count: 1
path: src/PhpGenerator/Extractor.php
-
message: '#^Method Nette\\PhpGenerator\\Extractor\:\:addCommentAndAttributes\(\) has parameter \$element with no type specified\.$#'
count: 1
path: src/PhpGenerator/Extractor.php
-
message: '#^Property class@anonymous/PhpGenerator/Extractor\.php\:176\:\:\$callback has no type specified\.$#'
count: 1
path: src/PhpGenerator/Extractor.php
-
message: '#^Variable \$trait might not be defined\.$#'
count: 2
path: src/PhpGenerator/Extractor.php
-
message: '#^Call to an undefined method ReflectionClass\<object\>\:\:hasCase\(\)\.$#'
count: 1
path: src/PhpGenerator/Factory.php
-
message: '#^Elseif branch is unreachable because previous condition is always true\.$#'
count: 1
path: src/PhpGenerator/Factory.php
-
message: '#^Method Nette\\PhpGenerator\\Factory\:\:getAttributes\(\) has parameter \$from with no type specified\.$#'
count: 1
path: src/PhpGenerator/Factory.php
-
message: '#^Method Nette\\PhpGenerator\\Factory\:\:getAttributes\(\) return type has no value type specified in iterable type array\.$#'
count: 1
path: src/PhpGenerator/Factory.php
-
message: '#^Method Nette\\PhpGenerator\\Factory\:\:getExtractor\(\) has parameter \$from with no type specified\.$#'
count: 1
path: src/PhpGenerator/Factory.php
-
message: '#^Method Nette\\PhpGenerator\\Factory\:\:getVisibility\(\) has parameter \$from with no type specified\.$#'
count: 1
path: src/PhpGenerator/Factory.php
-
message: '#^Parameter \#1 \$name of method Nette\\PhpGenerator\\ClassType\:\:setExtends\(\) expects string\|null, array\<int, string\> given\.$#'
count: 1
path: src/PhpGenerator/Factory.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
count: 1
path: src/PhpGenerator/Factory.php
-
message: '#^Variable \$bodies on left side of \?\?\= always exists and is not nullable\.$#'
count: 1
path: src/PhpGenerator/Factory.php
-
message: '#^Method Nette\\PhpGenerator\\Helpers\:\:formatArgs\(\) has parameter \$args with no value type specified in iterable type array\.$#'
count: 1
path: src/PhpGenerator/Helpers.php
-
message: '#^Method Nette\\PhpGenerator\\Method\:\:from\(\) has parameter \$method with no value type specified in iterable type array\.$#'
count: 1
path: src/PhpGenerator/Method.php
-
message: '#^Method Nette\\PhpGenerator\\TraitType\:\:addTrait\(\) has parameter \$deprecatedParam with no value type specified in iterable type array\.$#'
count: 1
path: src/PhpGenerator/TraitType.php