Skip to content

Commit 49b7360

Browse files
committed
Maestro adds PHPStan baseline
1 parent 1024df9 commit 49b7360

File tree

1 file changed

+267
-0
lines changed

1 file changed

+267
-0
lines changed

phpstan-baseline.neon

Lines changed: 267 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,267 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
5+
count: 1
6+
path: lib/Adapter/Composer/ComposerClassToFile.php
7+
8+
-
9+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:getStrategies\\(\\) return type has no value type specified in iterable type array\\.$#"
10+
count: 1
11+
path: lib/Adapter/Composer/ComposerClassToFile.php
12+
13+
-
14+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:resolveFile\\(\\) has no return typehint specified\\.$#"
15+
count: 1
16+
path: lib/Adapter/Composer/ComposerClassToFile.php
17+
18+
-
19+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:resolveFile\\(\\) has parameter \\$candidates with no typehint specified\\.$#"
20+
count: 1
21+
path: lib/Adapter/Composer/ComposerClassToFile.php
22+
23+
-
24+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:resolveFile\\(\\) has parameter \\$prefixes with no value type specified in iterable type array\\.$#"
25+
count: 1
26+
path: lib/Adapter/Composer/ComposerClassToFile.php
27+
28+
-
29+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:getFileCandidates\\(\\) has no return typehint specified\\.$#"
30+
count: 1
31+
path: lib/Adapter/Composer/ComposerClassToFile.php
32+
33+
-
34+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:getFileCandidates\\(\\) has parameter \\$prefixes with no value type specified in iterable type array\\.$#"
35+
count: 1
36+
path: lib/Adapter/Composer/ComposerClassToFile.php
37+
38+
-
39+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerFileToClass\\:\\:fileToClassCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\.$#"
40+
count: 1
41+
path: lib/Adapter/Composer/ComposerFileToClass.php
42+
43+
-
44+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerFileToClass\\:\\:getStrategies\\(\\) return type has no value type specified in iterable type array\\.$#"
45+
count: 1
46+
path: lib/Adapter/Composer/ComposerFileToClass.php
47+
48+
-
49+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerFileToClass\\:\\:populateCandidates\\(\\) has no return typehint specified\\.$#"
50+
count: 1
51+
path: lib/Adapter/Composer/ComposerFileToClass.php
52+
53+
-
54+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerFileToClass\\:\\:populateCandidates\\(\\) has parameter \\$prefixes with no value type specified in iterable type array\\.$#"
55+
count: 1
56+
path: lib/Adapter/Composer/ComposerFileToClass.php
57+
58+
-
59+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Simple\\\\ClassScanner\\:\\:getClassNameFromFile\\(\\) has no return typehint specified\\.$#"
60+
count: 1
61+
path: lib/Adapter/Simple/ClassScanner.php
62+
63+
-
64+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Simple\\\\ClassScanner\\:\\:getClassNameFromFile\\(\\) has parameter \\$file with no typehint specified\\.$#"
65+
count: 1
66+
path: lib/Adapter/Simple/ClassScanner.php
67+
68+
-
69+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Simple\\\\SimpleClassToFile\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
70+
count: 1
71+
path: lib/Adapter/Simple/SimpleClassToFile.php
72+
73+
-
74+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Simple\\\\SimpleFileToClass\\:\\:fileToClassCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\.$#"
75+
count: 1
76+
path: lib/Adapter/Simple/SimpleFileToClass.php
77+
78+
-
79+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\ClassToFileConverter\\:\\:fromComposerAutoloaders\\(\\) has parameter \\$classLoaders with no value type specified in iterable type array\\.$#"
80+
count: 1
81+
path: lib/ClassToFileConverter.php
82+
83+
-
84+
message: "#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:\\$converters type has no value type specified in iterable type array\\.$#"
85+
count: 1
86+
path: lib/Domain/ChainClassToFile.php
87+
88+
-
89+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:__construct\\(\\) has parameter \\$converters with no value type specified in iterable type array\\.$#"
90+
count: 1
91+
path: lib/Domain/ChainClassToFile.php
92+
93+
-
94+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
95+
count: 1
96+
path: lib/Domain/ChainClassToFile.php
97+
98+
-
99+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:add\\(\\) has no return typehint specified\\.$#"
100+
count: 1
101+
path: lib/Domain/ChainClassToFile.php
102+
103+
-
104+
message: "#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:\\$converters type has no value type specified in iterable type array\\.$#"
105+
count: 1
106+
path: lib/Domain/ChainFileToClass.php
107+
108+
-
109+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:__construct\\(\\) has parameter \\$converters with no value type specified in iterable type array\\.$#"
110+
count: 1
111+
path: lib/Domain/ChainFileToClass.php
112+
113+
-
114+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:fileToClassCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\.$#"
115+
count: 1
116+
path: lib/Domain/ChainFileToClass.php
117+
118+
-
119+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:add\\(\\) has no return typehint specified\\.$#"
120+
count: 1
121+
path: lib/Domain/ChainFileToClass.php
122+
123+
-
124+
message: "#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:\\$fullyQualifiedName has no typehint specified\\.$#"
125+
count: 1
126+
path: lib/Domain/ClassName.php
127+
128+
-
129+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:fromString\\(\\) has no return typehint specified\\.$#"
130+
count: 1
131+
path: lib/Domain/ClassName.php
132+
133+
-
134+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:fromString\\(\\) has parameter \\$string with no typehint specified\\.$#"
135+
count: 1
136+
path: lib/Domain/ClassName.php
137+
138+
-
139+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:namespace\\(\\) has no return typehint specified\\.$#"
140+
count: 1
141+
path: lib/Domain/ClassName.php
142+
143+
-
144+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:name\\(\\) has no return typehint specified\\.$#"
145+
count: 1
146+
path: lib/Domain/ClassName.php
147+
148+
-
149+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:beginsWith\\(\\) has no return typehint specified\\.$#"
150+
count: 1
151+
path: lib/Domain/ClassName.php
152+
153+
-
154+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:beginsWith\\(\\) has parameter \\$prefix with no typehint specified\\.$#"
155+
count: 1
156+
path: lib/Domain/ClassName.php
157+
158+
-
159+
message: "#^Class Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#"
160+
count: 1
161+
path: lib/Domain/ClassNameCandidates.php
162+
163+
-
164+
message: "#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\:\\:\\$classNames has no typehint specified\\.$#"
165+
count: 1
166+
path: lib/Domain/ClassNameCandidates.php
167+
168+
-
169+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\:\\:__construct\\(\\) has parameter \\$classNames with no value type specified in iterable type array\\.$#"
170+
count: 1
171+
path: lib/Domain/ClassNameCandidates.php
172+
173+
-
174+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\:\\:fromClassNames\\(\\) has no return typehint specified\\.$#"
175+
count: 1
176+
path: lib/Domain/ClassNameCandidates.php
177+
178+
-
179+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\:\\:fromClassNames\\(\\) has parameter \\$classNames with no value type specified in iterable type array\\.$#"
180+
count: 1
181+
path: lib/Domain/ClassNameCandidates.php
182+
183+
-
184+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\:\\:getIterator\\(\\) return type has no value type specified in iterable type Traversable\\<mixed, mixed\\>\\.$#"
185+
count: 1
186+
path: lib/Domain/ClassNameCandidates.php
187+
188+
-
189+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\:\\:add\\(\\) has no return typehint specified\\.$#"
190+
count: 1
191+
path: lib/Domain/ClassNameCandidates.php
192+
193+
-
194+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassToFile\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
195+
count: 1
196+
path: lib/Domain/ClassToFile.php
197+
198+
-
199+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassToFileFileToClass\\:\\:fileToClassCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\.$#"
200+
count: 1
201+
path: lib/Domain/ClassToFileFileToClass.php
202+
203+
-
204+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassToFileFileToClass\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
205+
count: 1
206+
path: lib/Domain/ClassToFileFileToClass.php
207+
208+
-
209+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePath\\:\\:fromString\\(\\) has parameter \\$path with no typehint specified\\.$#"
210+
count: 1
211+
path: lib/Domain/FilePath.php
212+
213+
-
214+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePath\\:\\:fromParts\\(\\) has parameter \\$parts with no value type specified in iterable type array\\.$#"
215+
count: 1
216+
path: lib/Domain/FilePath.php
217+
218+
-
219+
message: "#^Class Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#"
220+
count: 1
221+
path: lib/Domain/FilePathCandidates.php
222+
223+
-
224+
message: "#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:\\$filePaths has no typehint specified\\.$#"
225+
count: 1
226+
path: lib/Domain/FilePathCandidates.php
227+
228+
-
229+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:__construct\\(\\) has parameter \\$filePaths with no value type specified in iterable type array\\.$#"
230+
count: 1
231+
path: lib/Domain/FilePathCandidates.php
232+
233+
-
234+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:create\\(\\) has no return typehint specified\\.$#"
235+
count: 1
236+
path: lib/Domain/FilePathCandidates.php
237+
238+
-
239+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:fromFilePaths\\(\\) has no return typehint specified\\.$#"
240+
count: 1
241+
path: lib/Domain/FilePathCandidates.php
242+
243+
-
244+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:fromFilePaths\\(\\) has parameter \\$filePaths with no value type specified in iterable type array\\.$#"
245+
count: 1
246+
path: lib/Domain/FilePathCandidates.php
247+
248+
-
249+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
250+
count: 1
251+
path: lib/Domain/FilePathCandidates.php
252+
253+
-
254+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:add\\(\\) has no return typehint specified\\.$#"
255+
count: 1
256+
path: lib/Domain/FilePathCandidates.php
257+
258+
-
259+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:getIterator\\(\\) return type has no value type specified in iterable type Traversable\\<mixed, mixed\\>\\.$#"
260+
count: 1
261+
path: lib/Domain/FilePathCandidates.php
262+
263+
-
264+
message: "#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FileToClass\\:\\:fileToClassCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\.$#"
265+
count: 1
266+
path: lib/Domain/FileToClass.php
267+

0 commit comments

Comments
 (0)