You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+32-42Lines changed: 32 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -6,27 +6,27 @@ parameters:
6
6
path:lib/Adapter/Composer/ComposerClassToFile.php
7
7
8
8
-
9
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:getStrategies\\(\\) return type has no value type specified in iterable type array\\.$#"
9
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:getFileCandidates\\(\\) has no return typehint specified\\.$#"
10
10
count:1
11
11
path:lib/Adapter/Composer/ComposerClassToFile.php
12
12
13
13
-
14
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:resolveFile\\(\\) has parameter \\$candidates with no typehint specified\\.$#"
14
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:getFileCandidates\\(\\) has parameter \\$prefixes with no value type specified in iterable type array\\.$#"
15
15
count:1
16
16
path:lib/Adapter/Composer/ComposerClassToFile.php
17
17
18
18
-
19
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:resolveFile\\(\\) has parameter \\$prefixes with no value type specified in iterable type array\\.$#"
19
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:getStrategies\\(\\) return type has no value type specified in iterable type array\\.$#"
20
20
count:1
21
21
path:lib/Adapter/Composer/ComposerClassToFile.php
22
22
23
23
-
24
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:getFileCandidates\\(\\) has no return typehint specified\\.$#"
24
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:resolveFile\\(\\) has parameter \\$candidates with no typehint specified\\.$#"
25
25
count:1
26
26
path:lib/Adapter/Composer/ComposerClassToFile.php
27
27
28
28
-
29
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:getFileCandidates\\(\\) has parameter \\$prefixes with no value type specified in iterable type array\\.$#"
29
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Composer\\\\ComposerClassToFile\\:\\:resolveFile\\(\\) has parameter \\$prefixes with no value type specified in iterable type array\\.$#"
30
30
count:1
31
31
path:lib/Adapter/Composer/ComposerClassToFile.php
32
32
@@ -50,16 +50,6 @@ parameters:
50
50
count:1
51
51
path:lib/Adapter/Composer/ComposerFileToClass.php
52
52
53
-
-
54
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Simple\\\\ClassScanner\\:\\:getClassNameFromFile\\(\\) has no return typehint specified\\.$#"
55
-
count:1
56
-
path:lib/Adapter/Simple/ClassScanner.php
57
-
58
-
-
59
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Simple\\\\ClassScanner\\:\\:getClassNameFromFile\\(\\) has parameter \\$file with no typehint specified\\.$#"
60
-
count:1
61
-
path:lib/Adapter/Simple/ClassScanner.php
62
-
63
53
-
64
54
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Adapter\\\\Simple\\\\SimpleClassToFile\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
65
55
count:1
@@ -76,52 +66,52 @@ parameters:
76
66
path:lib/ClassToFileConverter.php
77
67
78
68
-
79
-
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:\\$converters type has no value type specified in iterable type array\\.$#"
69
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:__construct\\(\\) has parameter \\$converters with no value type specified in iterable type array\\.$#"
80
70
count:1
81
71
path:lib/Domain/ChainClassToFile.php
82
72
83
73
-
84
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:__construct\\(\\) has parameter \\$converters with no value type specified in iterable type array\\.$#"
74
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
85
75
count:1
86
76
path:lib/Domain/ChainClassToFile.php
87
77
88
78
-
89
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
79
+
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainClassToFile\\:\\:\\$converters type has no value type specified in iterable type array\\.$#"
90
80
count:1
91
81
path:lib/Domain/ChainClassToFile.php
92
82
93
83
-
94
-
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:\\$converters type has no value type specified in iterable type array\\.$#"
84
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:__construct\\(\\) has parameter \\$converters with no value type specified in iterable type array\\.$#"
95
85
count:1
96
86
path:lib/Domain/ChainFileToClass.php
97
87
98
88
-
99
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:__construct\\(\\) has parameter \\$converters with no value type specified in iterable type array\\.$#"
89
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:fileToClassCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\.$#"
100
90
count:1
101
91
path:lib/Domain/ChainFileToClass.php
102
92
103
93
-
104
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:fileToClassCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\.$#"
94
+
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ChainFileToClass\\:\\:\\$converters type has no value type specified in iterable type array\\.$#"
105
95
count:1
106
96
path:lib/Domain/ChainFileToClass.php
107
97
108
98
-
109
-
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:\\$fullyQualifiedName has no typehint specified\\.$#"
99
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:beginsWith\\(\\) has no return typehint specified\\.$#"
110
100
count:1
111
101
path:lib/Domain/ClassName.php
112
102
113
103
-
114
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:fromString\\(\\) has no return typehint specified\\.$#"
104
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:beginsWith\\(\\) has parameter \\$prefix with no typehint specified\\.$#"
115
105
count:1
116
106
path:lib/Domain/ClassName.php
117
107
118
108
-
119
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:fromString\\(\\) has parameter \\$string with no typehint specified\\.$#"
109
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:fromString\\(\\) has no return typehint specified\\.$#"
120
110
count:1
121
111
path:lib/Domain/ClassName.php
122
112
123
113
-
124
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:namespace\\(\\) has no return typehint specified\\.$#"
114
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:fromString\\(\\) has parameter \\$string with no typehint specified\\.$#"
125
115
count:1
126
116
path:lib/Domain/ClassName.php
127
117
@@ -131,12 +121,12 @@ parameters:
131
121
path:lib/Domain/ClassName.php
132
122
133
123
-
134
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:beginsWith\\(\\) has no return typehint specified\\.$#"
124
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:namespace\\(\\) has no return typehint specified\\.$#"
135
125
count:1
136
126
path:lib/Domain/ClassName.php
137
127
138
128
-
139
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:beginsWith\\(\\) has parameter \\$prefix with no typehint specified\\.$#"
129
+
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassName\\:\\:\\$fullyQualifiedName has no typehint specified\\.$#"
140
130
count:1
141
131
path:lib/Domain/ClassName.php
142
132
@@ -145,11 +135,6 @@ parameters:
145
135
count:1
146
136
path:lib/Domain/ClassNameCandidates.php
147
137
148
-
-
149
-
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\:\\:\\$classNames has no typehint specified\\.$#"
150
-
count:1
151
-
path:lib/Domain/ClassNameCandidates.php
152
-
153
138
-
154
139
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\:\\:__construct\\(\\) has parameter \\$classNames with no value type specified in iterable type array\\.$#"
155
140
count:1
@@ -171,37 +156,37 @@ parameters:
171
156
path:lib/Domain/ClassNameCandidates.php
172
157
173
158
-
174
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassToFile\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
159
+
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\:\\:\\$classNames has no typehint specified\\.$#"
175
160
count:1
176
-
path:lib/Domain/ClassToFile.php
161
+
path:lib/Domain/ClassNameCandidates.php
177
162
178
163
-
179
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassToFileFileToClass\\:\\:fileToClassCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\.$#"
164
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassToFile\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
180
165
count:1
181
-
path:lib/Domain/ClassToFileFileToClass.php
166
+
path:lib/Domain/ClassToFile.php
182
167
183
168
-
184
169
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassToFileFileToClass\\:\\:classToFileCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\.$#"
185
170
count:1
186
171
path:lib/Domain/ClassToFileFileToClass.php
187
172
188
173
-
189
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePath\\:\\:fromString\\(\\) has parameter \\$path with no typehint specified\\.$#"
174
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassToFileFileToClass\\:\\:fileToClassCandidates\\(\\) return type has no value type specified in iterable type Phpactor\\\\ClassFileConverter\\\\Domain\\\\ClassNameCandidates\\.$#"
190
175
count:1
191
-
path:lib/Domain/FilePath.php
176
+
path:lib/Domain/ClassToFileFileToClass.php
192
177
193
178
-
194
179
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePath\\:\\:fromParts\\(\\) has parameter \\$parts with no value type specified in iterable type array\\.$#"
195
180
count:1
196
181
path:lib/Domain/FilePath.php
197
182
198
183
-
199
-
message:"#^Class Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#"
184
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePath\\:\\:fromString\\(\\) has parameter \\$path with no typehint specified\\.$#"
200
185
count:1
201
-
path:lib/Domain/FilePathCandidates.php
186
+
path:lib/Domain/FilePath.php
202
187
203
188
-
204
-
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:\\$filePaths has no typehint specified\\.$#"
189
+
message:"#^Class Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#"
205
190
count:1
206
191
path:lib/Domain/FilePathCandidates.php
207
192
@@ -225,13 +210,18 @@ parameters:
225
210
count:1
226
211
path:lib/Domain/FilePathCandidates.php
227
212
213
+
-
214
+
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:getIterator\\(\\) return type has no value type specified in iterable type Traversable\\<mixed, mixed\\>\\.$#"
215
+
count:1
216
+
path:lib/Domain/FilePathCandidates.php
217
+
228
218
-
229
219
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
230
220
count:1
231
221
path:lib/Domain/FilePathCandidates.php
232
222
233
223
-
234
-
message:"#^Method Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:getIterator\\(\\) return type has no value type specified in iterable type Traversable\\<mixed, mixed\\>\\.$#"
224
+
message:"#^Property Phpactor\\\\ClassFileConverter\\\\Domain\\\\FilePathCandidates\\:\\:\\$filePaths has no typehint specified\\.$#"
0 commit comments