Skip to content
This repository was archived by the owner on Mar 6, 2022. It is now read-only.

Commit d5f3d9f

Browse files
committed
Maestro updates PHPStan to version ~0.12.0
1 parent e415307 commit d5f3d9f

File tree

2 files changed

+358
-4
lines changed

2 files changed

+358
-4
lines changed

phpstan-baseline.neon

Lines changed: 357 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,357 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
5+
count: 2
6+
path: lib/LanguageServerCodeTransform/CodeAction/ImportNameProvider.php
7+
8+
-
9+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
10+
count: 2
11+
path: lib/LanguageServerCodeTransform/CodeAction/ImportNameProvider.php
12+
13+
-
14+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
15+
count: 2
16+
path: lib/LanguageServerCodeTransform/CodeAction/ImportNameProvider.php
17+
18+
-
19+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
20+
count: 2
21+
path: lib/LanguageServerCodeTransform/CodeAction/ImportNameProvider.php
22+
23+
-
24+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
25+
count: 2
26+
path: lib/LanguageServerCodeTransform/CodeAction/ImportNameProvider.php
27+
28+
-
29+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
30+
count: 2
31+
path: lib/LanguageServerCodeTransform/CodeAction/ImportNameProvider.php
32+
33+
-
34+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
35+
count: 1
36+
path: lib/LanguageServerCodeTransform/CodeAction/TransformerCodeActionPovider.php
37+
38+
-
39+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
40+
count: 1
41+
path: lib/LanguageServerCodeTransform/CodeAction/TransformerCodeActionPovider.php
42+
43+
-
44+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
45+
count: 1
46+
path: lib/LanguageServerCodeTransform/CodeAction/TransformerCodeActionPovider.php
47+
48+
-
49+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
50+
count: 1
51+
path: lib/LanguageServerCodeTransform/CodeAction/TransformerCodeActionPovider.php
52+
53+
-
54+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
55+
count: 1
56+
path: lib/LanguageServerCodeTransform/CodeAction/TransformerCodeActionPovider.php
57+
58+
-
59+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
60+
count: 1
61+
path: lib/LanguageServerCodeTransform/CodeAction/TransformerCodeActionPovider.php
62+
63+
-
64+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerCodeTransform\\\\LspCommand\\\\ImportNameCommand\\:\\:__invoke\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
65+
count: 1
66+
path: lib/LanguageServerCodeTransform/LspCommand/ImportNameCommand.php
67+
68+
-
69+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerCodeTransform\\\\LspCommand\\\\TransformCommand\\:\\:__invoke\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
70+
count: 1
71+
path: lib/LanguageServerCodeTransform/LspCommand/TransformCommand.php
72+
73+
-
74+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerCompletion\\\\Handler\\\\CompletionHandler\\:\\:completion\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
75+
count: 1
76+
path: lib/LanguageServerCompletion/Handler/CompletionHandler.php
77+
78+
-
79+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
80+
count: 1
81+
path: lib/LanguageServerCompletion/Handler/CompletionHandler.php
82+
83+
-
84+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
85+
count: 1
86+
path: lib/LanguageServerCompletion/Handler/CompletionHandler.php
87+
88+
-
89+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
90+
count: 1
91+
path: lib/LanguageServerCompletion/Handler/CompletionHandler.php
92+
93+
-
94+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
95+
count: 1
96+
path: lib/LanguageServerCompletion/Handler/CompletionHandler.php
97+
98+
-
99+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
100+
count: 1
101+
path: lib/LanguageServerCompletion/Handler/CompletionHandler.php
102+
103+
-
104+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
105+
count: 1
106+
path: lib/LanguageServerCompletion/Handler/CompletionHandler.php
107+
108+
-
109+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerCompletion\\\\Handler\\\\SignatureHelpHandler\\:\\:signatureHelp\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
110+
count: 1
111+
path: lib/LanguageServerCompletion/Handler/SignatureHelpHandler.php
112+
113+
-
114+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
115+
count: 1
116+
path: lib/LanguageServerCompletion/Handler/SignatureHelpHandler.php
117+
118+
-
119+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
120+
count: 1
121+
path: lib/LanguageServerCompletion/Handler/SignatureHelpHandler.php
122+
123+
-
124+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
125+
count: 1
126+
path: lib/LanguageServerCompletion/Handler/SignatureHelpHandler.php
127+
128+
-
129+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
130+
count: 1
131+
path: lib/LanguageServerCompletion/Handler/SignatureHelpHandler.php
132+
133+
-
134+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
135+
count: 1
136+
path: lib/LanguageServerCompletion/Handler/SignatureHelpHandler.php
137+
138+
-
139+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
140+
count: 1
141+
path: lib/LanguageServerCompletion/Handler/SignatureHelpHandler.php
142+
143+
-
144+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerHover\\\\Handler\\\\HoverHandler\\:\\:hover\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
145+
count: 1
146+
path: lib/LanguageServerHover/Handler/HoverHandler.php
147+
148+
-
149+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
150+
count: 1
151+
path: lib/LanguageServerHover/Handler/HoverHandler.php
152+
153+
-
154+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
155+
count: 1
156+
path: lib/LanguageServerHover/Handler/HoverHandler.php
157+
158+
-
159+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
160+
count: 1
161+
path: lib/LanguageServerHover/Handler/HoverHandler.php
162+
163+
-
164+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
165+
count: 1
166+
path: lib/LanguageServerHover/Handler/HoverHandler.php
167+
168+
-
169+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
170+
count: 1
171+
path: lib/LanguageServerHover/Handler/HoverHandler.php
172+
173+
-
174+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
175+
count: 1
176+
path: lib/LanguageServerHover/Handler/HoverHandler.php
177+
178+
-
179+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
180+
count: 2
181+
path: lib/LanguageServerIndexer/Handler/IndexerHandler.php
182+
183+
-
184+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
185+
count: 2
186+
path: lib/LanguageServerIndexer/Handler/IndexerHandler.php
187+
188+
-
189+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
190+
count: 2
191+
path: lib/LanguageServerIndexer/Handler/IndexerHandler.php
192+
193+
-
194+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
195+
count: 2
196+
path: lib/LanguageServerIndexer/Handler/IndexerHandler.php
197+
198+
-
199+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
200+
count: 2
201+
path: lib/LanguageServerIndexer/Handler/IndexerHandler.php
202+
203+
-
204+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
205+
count: 2
206+
path: lib/LanguageServerIndexer/Handler/IndexerHandler.php
207+
208+
-
209+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerIndexer\\\\Handler\\\\IndexerHandler\\:\\:reindex\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
210+
count: 1
211+
path: lib/LanguageServerIndexer/Handler/IndexerHandler.php
212+
213+
-
214+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerIndexer\\\\Handler\\\\IndexerHandler\\:\\:watch\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
215+
count: 1
216+
path: lib/LanguageServerIndexer/Handler/IndexerHandler.php
217+
218+
-
219+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerReferenceFinder\\\\Handler\\\\GotoDefinitionHandler\\:\\:definition\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
220+
count: 1
221+
path: lib/LanguageServerReferenceFinder/Handler/GotoDefinitionHandler.php
222+
223+
-
224+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
225+
count: 1
226+
path: lib/LanguageServerReferenceFinder/Handler/GotoDefinitionHandler.php
227+
228+
-
229+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
230+
count: 1
231+
path: lib/LanguageServerReferenceFinder/Handler/GotoDefinitionHandler.php
232+
233+
-
234+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
235+
count: 1
236+
path: lib/LanguageServerReferenceFinder/Handler/GotoDefinitionHandler.php
237+
238+
-
239+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
240+
count: 1
241+
path: lib/LanguageServerReferenceFinder/Handler/GotoDefinitionHandler.php
242+
243+
-
244+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
245+
count: 1
246+
path: lib/LanguageServerReferenceFinder/Handler/GotoDefinitionHandler.php
247+
248+
-
249+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
250+
count: 1
251+
path: lib/LanguageServerReferenceFinder/Handler/GotoDefinitionHandler.php
252+
253+
-
254+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerReferenceFinder\\\\Handler\\\\GotoImplementationHandler\\:\\:gotoImplementation\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
255+
count: 1
256+
path: lib/LanguageServerReferenceFinder/Handler/GotoImplementationHandler.php
257+
258+
-
259+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
260+
count: 1
261+
path: lib/LanguageServerReferenceFinder/Handler/GotoImplementationHandler.php
262+
263+
-
264+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
265+
count: 1
266+
path: lib/LanguageServerReferenceFinder/Handler/GotoImplementationHandler.php
267+
268+
-
269+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
270+
count: 1
271+
path: lib/LanguageServerReferenceFinder/Handler/GotoImplementationHandler.php
272+
273+
-
274+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
275+
count: 1
276+
path: lib/LanguageServerReferenceFinder/Handler/GotoImplementationHandler.php
277+
278+
-
279+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
280+
count: 1
281+
path: lib/LanguageServerReferenceFinder/Handler/GotoImplementationHandler.php
282+
283+
-
284+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
285+
count: 1
286+
path: lib/LanguageServerReferenceFinder/Handler/GotoImplementationHandler.php
287+
288+
-
289+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerReferenceFinder\\\\Handler\\\\ReferencesHandler\\:\\:references\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
290+
count: 1
291+
path: lib/LanguageServerReferenceFinder/Handler/ReferencesHandler.php
292+
293+
-
294+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
295+
count: 1
296+
path: lib/LanguageServerReferenceFinder/Handler/ReferencesHandler.php
297+
298+
-
299+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
300+
count: 1
301+
path: lib/LanguageServerReferenceFinder/Handler/ReferencesHandler.php
302+
303+
-
304+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
305+
count: 1
306+
path: lib/LanguageServerReferenceFinder/Handler/ReferencesHandler.php
307+
308+
-
309+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
310+
count: 1
311+
path: lib/LanguageServerReferenceFinder/Handler/ReferencesHandler.php
312+
313+
-
314+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
315+
count: 1
316+
path: lib/LanguageServerReferenceFinder/Handler/ReferencesHandler.php
317+
318+
-
319+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
320+
count: 1
321+
path: lib/LanguageServerReferenceFinder/Handler/ReferencesHandler.php
322+
323+
-
324+
message: "#^Method Phpactor\\\\Extension\\\\LanguageServerReferenceFinder\\\\Handler\\\\TypeDefinitionHandler\\:\\:type\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
325+
count: 1
326+
path: lib/LanguageServerReferenceFinder/Handler/TypeDefinitionHandler.php
327+
328+
-
329+
message: "#^Unable to resolve the template type T in call to function Amp\\\\call$#"
330+
count: 1
331+
path: lib/LanguageServerReferenceFinder/Handler/TypeDefinitionHandler.php
332+
333+
-
334+
message: "#^Unable to resolve the template type TGenerator in call to function Amp\\\\call$#"
335+
count: 1
336+
path: lib/LanguageServerReferenceFinder/Handler/TypeDefinitionHandler.php
337+
338+
-
339+
message: "#^Unable to resolve the template type TGeneratorPromise in call to function Amp\\\\call$#"
340+
count: 1
341+
path: lib/LanguageServerReferenceFinder/Handler/TypeDefinitionHandler.php
342+
343+
-
344+
message: "#^Unable to resolve the template type TGeneratorReturn in call to function Amp\\\\call$#"
345+
count: 1
346+
path: lib/LanguageServerReferenceFinder/Handler/TypeDefinitionHandler.php
347+
348+
-
349+
message: "#^Unable to resolve the template type TPromise in call to function Amp\\\\call$#"
350+
count: 1
351+
path: lib/LanguageServerReferenceFinder/Handler/TypeDefinitionHandler.php
352+
353+
-
354+
message: "#^Unable to resolve the template type TReturn in call to function Amp\\\\call$#"
355+
count: 1
356+
path: lib/LanguageServerReferenceFinder/Handler/TypeDefinitionHandler.php
357+

phpstan.neon

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
includes:
2-
- vendor/jangregor/phpstan-prophecy/extension.neon
2+
- phpstan-baseline.neon
33
parameters:
44
level: 7
55
inferPrivatePropertyTypeFromConstructor: true
66
checkMissingIterableValueType: false
7-
ignoreErrors:
8-
- '{return type with generic interface .*Promise does}'
9-
- '{Unable to resolve the template type T.* in call to function}'
107
paths:
118
- lib

0 commit comments

Comments
 (0)