xref: /PHP-Parser/phpstan-baseline.neon (revision 80851163)
1parameters:
2	ignoreErrors:
3		-
4			message: "#^Method PhpParser\\\\Builder\\\\ClassConst\\:\\:__construct\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
5			count: 1
6			path: lib/PhpParser/Builder/ClassConst.php
7
8		-
9			message: "#^Method PhpParser\\\\Builder\\\\ClassConst\\:\\:addConst\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
10			count: 1
11			path: lib/PhpParser/Builder/ClassConst.php
12
13		-
14			message: "#^Method PhpParser\\\\BuilderFactory\\:\\:args\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
15			count: 1
16			path: lib/PhpParser/BuilderFactory.php
17
18		-
19			message: "#^Method PhpParser\\\\BuilderFactory\\:\\:attribute\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
20			count: 1
21			path: lib/PhpParser/BuilderFactory.php
22
23		-
24			message: "#^Method PhpParser\\\\BuilderFactory\\:\\:classConst\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
25			count: 1
26			path: lib/PhpParser/BuilderFactory.php
27
28		-
29			message: "#^Method PhpParser\\\\BuilderFactory\\:\\:funcCall\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
30			count: 1
31			path: lib/PhpParser/BuilderFactory.php
32
33		-
34			message: "#^Method PhpParser\\\\BuilderFactory\\:\\:methodCall\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
35			count: 1
36			path: lib/PhpParser/BuilderFactory.php
37
38		-
39			message: "#^Method PhpParser\\\\BuilderFactory\\:\\:new\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
40			count: 1
41			path: lib/PhpParser/BuilderFactory.php
42
43		-
44			message: "#^Method PhpParser\\\\BuilderFactory\\:\\:staticCall\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
45			count: 1
46			path: lib/PhpParser/BuilderFactory.php
47
48		-
49			message: "#^Method PhpParser\\\\BuilderFactory\\:\\:val\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
50			count: 1
51			path: lib/PhpParser/BuilderFactory.php
52
53		-
54			message: "#^Method PhpParser\\\\BuilderHelpers\\:\\:normalizeValue\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
55			count: 1
56			path: lib/PhpParser/BuilderHelpers.php
57
58		-
59			message: "#^Method PhpParser\\\\ConstExprEvaluator\\:\\:evaluateArray\\(\\) return type has no value type specified in iterable type array\\.$#"
60			count: 1
61			path: lib/PhpParser/ConstExprEvaluator.php
62
63		-
64			message: "#^Unary operation \"~\" on mixed results in an error\\.$#"
65			count: 1
66			path: lib/PhpParser/ConstExprEvaluator.php
67
68		-
69			message: "#^Method PhpParser\\\\JsonDecoder\\:\\:decodeArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#"
70			count: 1
71			path: lib/PhpParser/JsonDecoder.php
72
73		-
74			message: "#^Method PhpParser\\\\JsonDecoder\\:\\:decodeArray\\(\\) return type has no value type specified in iterable type array\\.$#"
75			count: 1
76			path: lib/PhpParser/JsonDecoder.php
77
78		-
79			message: "#^Method PhpParser\\\\JsonDecoder\\:\\:decodeComment\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
80			count: 1
81			path: lib/PhpParser/JsonDecoder.php
82
83		-
84			message: "#^Method PhpParser\\\\JsonDecoder\\:\\:decodeNode\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
85			count: 1
86			path: lib/PhpParser/JsonDecoder.php
87
88		-
89			message: "#^Call to function assert\\(\\) with false will always evaluate to false\\.$#"
90			count: 1
91			path: lib/PhpParser/Lexer/Emulative.php
92
93		-
94			message: "#^Method PhpParser\\\\NodeDumper\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
95			count: 1
96			path: lib/PhpParser/NodeDumper.php
97
98		-
99			message: "#^Method PhpParser\\\\NodeDumper\\:\\:dump\\(\\) has parameter \\$node with no value type specified in iterable type array\\.$#"
100			count: 1
101			path: lib/PhpParser/NodeDumper.php
102
103		-
104			message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) has parameter \\$nodes with no value type specified in iterable type array\\.$#"
105			count: 1
106			path: lib/PhpParser/NodeTraverser.php
107
108		-
109			message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) return type has no value type specified in iterable type array\\.$#"
110			count: 1
111			path: lib/PhpParser/NodeTraverser.php
112
113		-
114			message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$attrGroups\\.$#"
115			count: 1
116			path: lib/PhpParser/NodeVisitor/NameResolver.php
117
118		-
119			message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$name\\.$#"
120			count: 1
121			path: lib/PhpParser/NodeVisitor/NameResolver.php
122
123		-
124			message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$namespacedName\\.$#"
125			count: 1
126			path: lib/PhpParser/NodeVisitor/NameResolver.php
127
128		-
129			message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#"
130			count: 1
131			path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
132
133		-
134			message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:enterNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
135			count: 1
136			path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
137
138		-
139			message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:leaveNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
140			count: 1
141			path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
142
143		-
144			message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#"
145			count: 1
146			path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
147
148		-
149			message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:enterNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
150			count: 1
151			path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
152
153		-
154			message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:leaveNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
155			count: 1
156			path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
157
158		-
159			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG\\.$#"
160			count: 1
161			path: lib/PhpParser/ParserAbstract.php
162
163		-
164			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG\\.$#"
165			count: 1
166			path: lib/PhpParser/ParserAbstract.php
167
168		-
169			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_ATTRIBUTE\\.$#"
170			count: 1
171			path: lib/PhpParser/ParserAbstract.php
172
173		-
174			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_COALESCE_EQUAL\\.$#"
175			count: 1
176			path: lib/PhpParser/ParserAbstract.php
177
178		-
179			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_ECHO\\.$#"
180			count: 1
181			path: lib/PhpParser/ParserAbstract.php
182
183		-
184			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_ENUM\\.$#"
185			count: 1
186			path: lib/PhpParser/ParserAbstract.php
187
188		-
189			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_FN\\.$#"
190			count: 1
191			path: lib/PhpParser/ParserAbstract.php
192
193		-
194			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_MATCH\\.$#"
195			count: 1
196			path: lib/PhpParser/ParserAbstract.php
197
198		-
199			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_NAME_FULLY_QUALIFIED\\.$#"
200			count: 1
201			path: lib/PhpParser/ParserAbstract.php
202
203		-
204			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_NAME_QUALIFIED\\.$#"
205			count: 1
206			path: lib/PhpParser/ParserAbstract.php
207
208		-
209			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_NAME_RELATIVE\\.$#"
210			count: 1
211			path: lib/PhpParser/ParserAbstract.php
212
213		-
214			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_NULLSAFE_OBJECT_OPERATOR\\.$#"
215			count: 1
216			path: lib/PhpParser/ParserAbstract.php
217
218		-
219			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_PAAMAYIM_NEKUDOTAYIM\\.$#"
220			count: 1
221			path: lib/PhpParser/ParserAbstract.php
222
223		-
224			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_READONLY\\.$#"
225			count: 1
226			path: lib/PhpParser/ParserAbstract.php
227
228		-
229			message: "#^Unary operation \"\\+\" on string results in an error\\.$#"
230			count: 1
231			path: lib/PhpParser/ParserAbstract.php
232
233		-
234			message: "#^Variable \\$action might not be defined\\.$#"
235			count: 1
236			path: lib/PhpParser/ParserAbstract.php
237