11parameters :
22 ignoreErrors :
3- -
4- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Attribute \.\.\.\$attrs\) \{…" on a separate line does not do anything\.$#'
5- identifier : expr.resultUnused
6- count : 1
7- path : src/PhpGenerator/ClassLike.php
8-
93 -
104 message : ' #^Parameter \#1 \$class of method Nette\\PhpGenerator\\Printer\:\:printClass\(\) expects Nette\\PhpGenerator\\ClassType\|Nette\\PhpGenerator\\EnumType\|Nette\\PhpGenerator\\InterfaceType\|Nette\\PhpGenerator\\TraitType, \$this\(Nette\\PhpGenerator\\ClassLike\) given\.$#'
115 identifier : argument.type
126 count : 1
137 path : src/PhpGenerator/ClassLike.php
148
15- -
16- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Constant \.\.\.\$consts\) \{…" on a separate line does not do anything\.$#'
17- identifier : expr.resultUnused
18- count : 1
19- path : src/PhpGenerator/ClassType.php
20-
21- -
22- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Method \.\.\.\$methods\) \{…" on a separate line does not do anything\.$#'
23- identifier : expr.resultUnused
24- count : 1
25- path : src/PhpGenerator/ClassType.php
26-
27- -
28- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Property \.\.\.\$props\) \{…" on a separate line does not do anything\.$#'
29- identifier : expr.resultUnused
30- count : 1
31- path : src/PhpGenerator/ClassType.php
32-
33- -
34- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\TraitUse \.\.\.\$traits\) \{…" on a separate line does not do anything\.$#'
35- identifier : expr.resultUnused
36- count : 1
37- path : src/PhpGenerator/ClassType.php
38-
39- -
40- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Attribute \.\.\.\$attrs\) \{…" on a separate line does not do anything\.$#'
41- identifier : expr.resultUnused
42- count : 1
43- path : src/PhpGenerator/Closure.php
44-
45- -
46- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Parameter \.\.\.\$uses\) \{…" on a separate line does not do anything\.$#'
47- identifier : expr.resultUnused
48- count : 1
49- path : src/PhpGenerator/Closure.php
50-
51- -
52- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Parameter \.\.\.\$val\) \{…" on a separate line does not do anything\.$#'
53- identifier : expr.resultUnused
54- count : 1
55- path : src/PhpGenerator/Closure.php
56-
57- -
58- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Attribute \.\.\.\$attrs\) \{…" on a separate line does not do anything\.$#'
59- identifier : expr.resultUnused
60- count : 1
61- path : src/PhpGenerator/Constant.php
62-
63- -
64- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Attribute \.\.\.\$attrs\) \{…" on a separate line does not do anything\.$#'
65- identifier : expr.resultUnused
66- count : 1
67- path : src/PhpGenerator/EnumCase.php
68-
69- -
70- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Constant \.\.\.\$consts\) \{…" on a separate line does not do anything\.$#'
71- identifier : expr.resultUnused
72- count : 1
73- path : src/PhpGenerator/EnumType.php
74-
75- -
76- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\EnumCase \.\.\.\$cases\) \{…" on a separate line does not do anything\.$#'
77- identifier : expr.resultUnused
78- count : 1
79- path : src/PhpGenerator/EnumType.php
80-
81- -
82- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Method \.\.\.\$methods\) \{…" on a separate line does not do anything\.$#'
83- identifier : expr.resultUnused
84- count : 1
85- path : src/PhpGenerator/EnumType.php
86-
87- -
88- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\TraitUse \.\.\.\$traits\) \{…" on a separate line does not do anything\.$#'
89- identifier : expr.resultUnused
90- count : 1
91- path : src/PhpGenerator/EnumType.php
92-
939 -
9410 message : ' #^Call to an undefined method Nette\\PhpGenerator\\ClassLike\:\:addConstant\(\)\.$#'
9511 identifier : method.notFound
@@ -127,8 +43,8 @@ parameters:
12743 path : src/PhpGenerator/Extractor.php
12844
12945 -
130- message : ' #^Method Nette\\PhpGenerator\\Factory\:\:getAttributes \(\) has parameter \$from with no type specified \.$#'
131- identifier : missingType.parameter
46+ message : ' #^Parameter &\$from by\-ref type of method Nette\\PhpGenerator\\Factory\:\:createClassObject \(\) expects ReflectionClass\<object\>, ReflectionEnum\<UnitEnum\> given \.$#'
47+ identifier : parameterByRef.type
13248 count : 1
13349 path : src/PhpGenerator/Factory.php
13450
@@ -144,128 +60,8 @@ parameters:
14460 count : 1
14561 path : src/PhpGenerator/Factory.php
14662
147- -
148- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Attribute \.\.\.\$attrs\) \{…" on a separate line does not do anything\.$#'
149- identifier : expr.resultUnused
150- count : 1
151- path : src/PhpGenerator/GlobalFunction.php
152-
153- -
154- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Parameter \.\.\.\$val\) \{…" on a separate line does not do anything\.$#'
155- identifier : expr.resultUnused
156- count : 1
157- path : src/PhpGenerator/GlobalFunction.php
158-
159- -
160- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Constant \.\.\.\$consts\) \{…" on a separate line does not do anything\.$#'
161- identifier : expr.resultUnused
162- count : 1
163- path : src/PhpGenerator/InterfaceType.php
164-
165- -
166- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Method \.\.\.\$methods\) \{…" on a separate line does not do anything\.$#'
167- identifier : expr.resultUnused
168- count : 1
169- path : src/PhpGenerator/InterfaceType.php
170-
171- -
172- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Property \.\.\.\$props\) \{…" on a separate line does not do anything\.$#'
173- identifier : expr.resultUnused
174- count : 1
175- path : src/PhpGenerator/InterfaceType.php
176-
177- -
178- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Attribute \.\.\.\$attrs\) \{…" on a separate line does not do anything\.$#'
179- identifier : expr.resultUnused
180- count : 1
181- path : src/PhpGenerator/Method.php
182-
183- -
184- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Parameter \.\.\.\$val\) \{…" on a separate line does not do anything\.$#'
185- identifier : expr.resultUnused
186- count : 1
187- path : src/PhpGenerator/Method.php
188-
189- -
190- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Attribute \.\.\.\$attrs\) \{…" on a separate line does not do anything\.$#'
191- identifier : expr.resultUnused
192- count : 1
193- path : src/PhpGenerator/Parameter.php
194-
195- -
196- message : ' #^Instanceof between Nette\\PhpGenerator\\EnumType and Nette\\PhpGenerator\\EnumType will always evaluate to true\.$#'
197- identifier : instanceof.alwaysTrue
198- count : 1
199- path : src/PhpGenerator/Printer.php
200-
20163 -
20264 message : ' #^Method Nette\\PhpGenerator\\Printer\:\:printDocComment\(\) has parameter \$commentable with no type specified\.$#'
20365 identifier : missingType.parameter
20466 count : 1
20567 path : src/PhpGenerator/Printer.php
206-
207- -
208- message : ' #^Parameter \#2 \$array of function implode expects array\<string\>, array\<string, Nette\\PhpGenerator\\PropertyHook\|string\> given\.$#'
209- identifier : argument.type
210- count : 2
211- path : src/PhpGenerator/Printer.php
212-
213- -
214- message : ' #^Result of \|\| is always true\.$#'
215- identifier : booleanOr.alwaysTrue
216- count : 1
217- path : src/PhpGenerator/Printer.php
218-
219- -
220- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\PropertyHook \.\.\.\$hooks\) \{…" on a separate line does not do anything\.$#'
221- identifier : expr.resultUnused
222- count : 1
223- path : src/PhpGenerator/PromotedParameter.php
224-
225- -
226- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Attribute \.\.\.\$attrs\) \{…" on a separate line does not do anything\.$#'
227- identifier : expr.resultUnused
228- count : 1
229- path : src/PhpGenerator/Property.php
230-
231- -
232- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\PropertyHook \.\.\.\$hooks\) \{…" on a separate line does not do anything\.$#'
233- identifier : expr.resultUnused
234- count : 1
235- path : src/PhpGenerator/Property.php
236-
237- -
238- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Attribute \.\.\.\$attrs\) \{…" on a separate line does not do anything\.$#'
239- identifier : expr.resultUnused
240- count : 1
241- path : src/PhpGenerator/PropertyHook.php
242-
243- -
244- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Parameter \.\.\.\$val\) \{…" on a separate line does not do anything\.$#'
245- identifier : expr.resultUnused
246- count : 1
247- path : src/PhpGenerator/PropertyHook.php
248-
249- -
250- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Constant \.\.\.\$consts\) \{…" on a separate line does not do anything\.$#'
251- identifier : expr.resultUnused
252- count : 1
253- path : src/PhpGenerator/TraitType.php
254-
255- -
256- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Method \.\.\.\$methods\) \{…" on a separate line does not do anything\.$#'
257- identifier : expr.resultUnused
258- count : 1
259- path : src/PhpGenerator/TraitType.php
260-
261- -
262- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\Property \.\.\.\$props\) \{…" on a separate line does not do anything\.$#'
263- identifier : expr.resultUnused
264- count : 1
265- path : src/PhpGenerator/TraitType.php
266-
267- -
268- message : ' #^Expression "\(function \(\\Nette\\PhpGenerator\\TraitUse \.\.\.\$traits\) \{…" on a separate line does not do anything\.$#'
269- identifier : expr.resultUnused
270- count : 1
271- path : src/PhpGenerator/TraitType.php
0 commit comments