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
+184-2Lines changed: 184 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,135 @@
1
-
2
-
3
1
parameters:
4
2
ignoreErrors:
3
+
-
4
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Dumper\\\\Port\\\\SymfonyPort\\:\\:dumpXliff2\\(\\) has no return typehint specified\\.$#"
5
+
count:1
6
+
path:src/Dumper/Port/SymfonyPort.php
7
+
8
+
-
9
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Dumper\\\\Port\\\\SymfonyPort\\:\\:dumpXliff2\\(\\) has parameter \\$defaultLocale with no typehint specified\\.$#"
10
+
count:1
11
+
path:src/Dumper/Port/SymfonyPort.php
12
+
13
+
-
14
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Dumper\\\\Port\\\\SymfonyPort\\:\\:dumpXliff2\\(\\) has parameter \\$domain with no typehint specified\\.$#"
15
+
count:1
16
+
path:src/Dumper/Port/SymfonyPort.php
17
+
18
+
-
19
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Dumper\\\\Port\\\\SymfonyPort\\:\\:dumpXliff2\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
20
+
count:1
21
+
path:src/Dumper/Port/SymfonyPort.php
22
+
5
23
-
6
24
message:"#^Call to an undefined method DOMNode\\:\\:setAttribute\\(\\)\\.$#"
7
25
count:5
8
26
path:src/Dumper/Port/SymfonyPort.php
9
27
28
+
-
29
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Dumper\\\\Port\\\\SymfonyPort\\:\\:hasMetadataArrayInfo\\(\\) has parameter \\$metadata with no value type specified in iterable type array\\.$#"
30
+
count:1
31
+
path:src/Dumper/Port/SymfonyPort.php
32
+
33
+
-
34
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Dumper\\\\XliffDumper\\:\\:formatCatalogue\\(\\) has parameter \\$domain with no typehint specified\\.$#"
35
+
count:1
36
+
path:src/Dumper/XliffDumper.php
37
+
38
+
-
39
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Dumper\\\\XliffDumper\\:\\:formatCatalogue\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
40
+
count:1
41
+
path:src/Dumper/XliffDumper.php
42
+
10
43
-
11
44
message:"#^Call to static method getDefault\\(\\) on an unknown class Locale\\.$#"
12
45
count:1
13
46
path:src/Dumper/XliffDumper.php
14
47
48
+
-
49
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Dumper\\\\XliffDumper\\:\\:format\\(\\) has no return typehint specified\\.$#"
50
+
count:1
51
+
path:src/Dumper/XliffDumper.php
52
+
53
+
-
54
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Dumper\\\\XliffDumper\\:\\:format\\(\\) has parameter \\$domain with no typehint specified\\.$#"
55
+
count:1
56
+
path:src/Dumper/XliffDumper.php
57
+
58
+
-
59
+
message:"#^Property Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:\\$dir type has no value type specified in iterable type array\\.$#"
60
+
count:1
61
+
path:src/FileStorage.php
62
+
63
+
-
64
+
message:"#^Property Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:\\$options type has no value type specified in iterable type array\\.$#"
65
+
count:1
66
+
path:src/FileStorage.php
67
+
68
+
-
69
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:__construct\\(\\) has parameter \\$dir with no value type specified in iterable type array\\.$#"
70
+
count:1
71
+
path:src/FileStorage.php
72
+
73
+
-
74
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
75
+
count:1
76
+
path:src/FileStorage.php
77
+
78
+
-
79
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:create\\(\\) has no return typehint specified\\.$#"
80
+
count:1
81
+
path:src/FileStorage.php
82
+
83
+
-
84
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:update\\(\\) has no return typehint specified\\.$#"
85
+
count:1
86
+
path:src/FileStorage.php
87
+
88
+
-
89
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:delete\\(\\) has no return typehint specified\\.$#"
90
+
count:1
91
+
path:src/FileStorage.php
92
+
93
+
-
94
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:export\\(\\) has no return typehint specified\\.$#"
95
+
count:1
96
+
path:src/FileStorage.php
97
+
98
+
-
99
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:import\\(\\) has no return typehint specified\\.$#"
100
+
count:1
101
+
path:src/FileStorage.php
102
+
103
+
-
104
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:writeCatalogue\\(\\) has no return typehint specified\\.$#"
105
+
count:1
106
+
path:src/FileStorage.php
107
+
108
+
-
109
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:writeCatalogue\\(\\) has parameter \\$locale with no typehint specified\\.$#"
110
+
count:1
111
+
path:src/FileStorage.php
112
+
15
113
-
16
114
message:"#^Parameter \\#1 \\$catalogue of method Symfony\\\\Component\\\\Translation\\\\Writer\\\\TranslationWriterInterface\\:\\:write\\(\\) expects Symfony\\\\Component\\\\Translation\\\\MessageCatalogue, Symfony\\\\Component\\\\Translation\\\\MessageCatalogueInterface given\\.$#"
17
115
count:2
18
116
path:src/FileStorage.php
19
117
118
+
-
119
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:loadCatalogue\\(\\) has no return typehint specified\\.$#"
120
+
count:1
121
+
path:src/FileStorage.php
122
+
123
+
-
124
+
message:"#^Method Translation\\\\SymfonyStorage\\\\FileStorage\\:\\:loadCatalogue\\(\\) has parameter \\$dirs with no value type specified in iterable type array\\.$#"
125
+
count:1
126
+
path:src/FileStorage.php
127
+
128
+
-
129
+
message:"#^Method Translation\\\\SymfonyStorage\\\\LegacyTranslationReader\\:\\:__construct\\(\\) has parameter \\$loader with no typehint specified\\.$#"
130
+
count:1
131
+
path:src/LegacyTranslationReader.php
132
+
20
133
-
21
134
message:"#^Class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Translation\\\\TranslationLoader not found\\.$#"
22
135
count:1
@@ -27,11 +140,46 @@ parameters:
27
140
count:1
28
141
path:src/LegacyTranslationReader.php
29
142
143
+
-
144
+
message:"#^Method Translation\\\\SymfonyStorage\\\\LegacyTranslationReader\\:\\:read\\(\\) has no return typehint specified\\.$#"
145
+
count:1
146
+
path:src/LegacyTranslationReader.php
147
+
148
+
-
149
+
message:"#^Method Translation\\\\SymfonyStorage\\\\LegacyTranslationReader\\:\\:read\\(\\) has parameter \\$directory with no typehint specified\\.$#"
150
+
count:1
151
+
path:src/LegacyTranslationReader.php
152
+
153
+
-
154
+
message:"#^Method Translation\\\\SymfonyStorage\\\\LegacyTranslationWriter\\:\\:__construct\\(\\) has parameter \\$writer with no typehint specified\\.$#"
155
+
count:1
156
+
path:src/LegacyTranslationWriter.php
157
+
158
+
-
159
+
message:"#^Method Translation\\\\SymfonyStorage\\\\LegacyTranslationWriter\\:\\:write\\(\\) has no return typehint specified\\.$#"
160
+
count:1
161
+
path:src/LegacyTranslationWriter.php
162
+
163
+
-
164
+
message:"#^Method Translation\\\\SymfonyStorage\\\\LegacyTranslationWriter\\:\\:write\\(\\) has parameter \\$format with no typehint specified\\.$#"
165
+
count:1
166
+
path:src/LegacyTranslationWriter.php
167
+
168
+
-
169
+
message:"#^Method Translation\\\\SymfonyStorage\\\\LegacyTranslationWriter\\:\\:write\\(\\) has parameter \\$options with no typehint specified\\.$#"
170
+
count:1
171
+
path:src/LegacyTranslationWriter.php
172
+
30
173
-
31
174
message:"#^Call to an undefined method Symfony\\\\Component\\\\Translation\\\\Writer\\\\TranslationWriter\\:\\:writeTranslations\\(\\)\\.$#"
32
175
count:1
33
176
path:src/LegacyTranslationWriter.php
34
177
178
+
-
179
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Loader\\\\Port\\\\SymfonyPort\\:\\:extractXliff2\\(\\) has no return typehint specified\\.$#"
180
+
count:1
181
+
path:src/Loader/Port/SymfonyPort.php
182
+
35
183
-
36
184
message:"#^Cannot call method registerXPathNamespace\\(\\) on SimpleXMLElement\\|false\\.$#"
37
185
count:2
@@ -57,9 +205,43 @@ parameters:
57
205
count:1
58
206
path:src/Loader/Port/SymfonyPort.php
59
207
208
+
-
209
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Loader\\\\Port\\\\SymfonyPort\\:\\:extractXliff1\\(\\) has no return typehint specified\\.$#"
210
+
count:1
211
+
path:src/Loader/Port/SymfonyPort.php
212
+
213
+
-
214
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Loader\\\\Port\\\\SymfonyPort\\:\\:parseNotesMetadata\\(\\) return type has no value type specified in iterable type array\\.$#"
215
+
count:1
216
+
path:src/Loader/Port/SymfonyPort.php
217
+
60
218
-
61
219
message:"#^Parameter \\#1 \\$content of method Translation\\\\SymfonyStorage\\\\Loader\\\\XliffLoader\\:\\:extractFromContent\\(\\) expects string, string\\|false given\\.$#"
62
220
count:1
63
221
path:src/Loader/XliffLoader.php
64
222
223
+
-
224
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Loader\\\\XliffLoader\\:\\:extractFromContent\\(\\) has no return typehint specified\\.$#"
225
+
count:1
226
+
path:src/Loader/XliffLoader.php
227
+
228
+
-
229
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Loader\\\\XliffLoader\\:\\:getXmlErrors\\(\\) has no return typehint specified\\.$#"
230
+
count:1
231
+
path:src/Loader/XliffLoader.php
232
+
233
+
-
234
+
message:"#^Method Translation\\\\SymfonyStorage\\\\Loader\\\\XliffLoader\\:\\:getXmlErrors\\(\\) has parameter \\$internalErrors with no typehint specified\\.$#"
235
+
count:1
236
+
path:src/Loader/XliffLoader.php
237
+
238
+
-
239
+
message:"#^Method Translation\\\\SymfonyStorage\\\\TranslationLoader\\:\\:loadMessages\\(\\) has no return typehint specified\\.$#"
240
+
count:1
241
+
path:src/TranslationLoader.php
242
+
243
+
-
244
+
message:"#^Method Translation\\\\SymfonyStorage\\\\XliffConverter\\:\\:catalogueToContent\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
0 commit comments