Skip to content

Commit ee89a6f

Browse files
committed
update phpstan baseline
1 parent 1fd9533 commit ee89a6f

File tree

1 file changed

+184
-2
lines changed

1 file changed

+184
-2
lines changed

phpstan-baseline.neon

Lines changed: 184 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,135 @@
1-
2-
31
parameters:
42
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+
523
-
624
message: "#^Call to an undefined method DOMNode\\:\\:setAttribute\\(\\)\\.$#"
725
count: 5
826
path: src/Dumper/Port/SymfonyPort.php
927

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+
1043
-
1144
message: "#^Call to static method getDefault\\(\\) on an unknown class Locale\\.$#"
1245
count: 1
1346
path: src/Dumper/XliffDumper.php
1447

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+
15113
-
16114
message: "#^Parameter \\#1 \\$catalogue of method Symfony\\\\Component\\\\Translation\\\\Writer\\\\TranslationWriterInterface\\:\\:write\\(\\) expects Symfony\\\\Component\\\\Translation\\\\MessageCatalogue, Symfony\\\\Component\\\\Translation\\\\MessageCatalogueInterface given\\.$#"
17115
count: 2
18116
path: src/FileStorage.php
19117

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+
20133
-
21134
message: "#^Class Symfony\\\\Bundle\\\\FrameworkBundle\\\\Translation\\\\TranslationLoader not found\\.$#"
22135
count: 1
@@ -27,11 +140,46 @@ parameters:
27140
count: 1
28141
path: src/LegacyTranslationReader.php
29142

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+
30173
-
31174
message: "#^Call to an undefined method Symfony\\\\Component\\\\Translation\\\\Writer\\\\TranslationWriter\\:\\:writeTranslations\\(\\)\\.$#"
32175
count: 1
33176
path: src/LegacyTranslationWriter.php
34177

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+
35183
-
36184
message: "#^Cannot call method registerXPathNamespace\\(\\) on SimpleXMLElement\\|false\\.$#"
37185
count: 2
@@ -57,9 +205,43 @@ parameters:
57205
count: 1
58206
path: src/Loader/Port/SymfonyPort.php
59207

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+
60218
-
61219
message: "#^Parameter \\#1 \\$content of method Translation\\\\SymfonyStorage\\\\Loader\\\\XliffLoader\\:\\:extractFromContent\\(\\) expects string, string\\|false given\\.$#"
62220
count: 1
63221
path: src/Loader/XliffLoader.php
64222

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\\.$#"
245+
count: 1
246+
path: src/XliffConverter.php
65247

0 commit comments

Comments
 (0)