xref: /PHP-Parser/phpstan-baseline.neon (revision 469377f4)
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: "#^If condition is always false\\.$#"
95			count: 1
96			path: lib/PhpParser/Node/Expr/ArrayItem.php
97
98		-
99			message: "#^If condition is always false\\.$#"
100			count: 1
101			path: lib/PhpParser/Node/Expr/ClosureUse.php
102
103		-
104			message: "#^If condition is always false\\.$#"
105			count: 1
106			path: lib/PhpParser/Node/Scalar/DNumber.php
107
108		-
109			message: "#^If condition is always false\\.$#"
110			count: 1
111			path: lib/PhpParser/Node/Scalar/Encapsed.php
112
113		-
114			message: "#^If condition is always false\\.$#"
115			count: 1
116			path: lib/PhpParser/Node/Scalar/EncapsedStringPart.php
117
118		-
119			message: "#^If condition is always false\\.$#"
120			count: 1
121			path: lib/PhpParser/Node/Scalar/LNumber.php
122
123		-
124			message: "#^If condition is always false\\.$#"
125			count: 1
126			path: lib/PhpParser/Node/Stmt/DeclareDeclare.php
127
128		-
129			message: "#^If condition is always false\\.$#"
130			count: 1
131			path: lib/PhpParser/Node/Stmt/PropertyProperty.php
132
133		-
134			message: "#^If condition is always false\\.$#"
135			count: 1
136			path: lib/PhpParser/Node/Stmt/StaticVar.php
137
138		-
139			message: "#^If condition is always false\\.$#"
140			count: 1
141			path: lib/PhpParser/Node/Stmt/UseUse.php
142
143		-
144			message: "#^Constant T_PRIVATE_SET not found\\.$#"
145			count: 2
146			path: lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
147
148		-
149			message: "#^Constant T_PROTECTED_SET not found\\.$#"
150			count: 2
151			path: lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
152
153		-
154			message: "#^Constant T_PUBLIC_SET not found\\.$#"
155			count: 2
156			path: lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
157
158		-
159			message: "#^Constant T_PROPERTY_C not found\\.$#"
160			count: 1
161			path: lib/PhpParser/Lexer/TokenEmulator/PropertyTokenEmulator.php
162
163		-
164			message: "#^Method PhpParser\\\\NodeDumper\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
165			count: 1
166			path: lib/PhpParser/NodeDumper.php
167
168		-
169			message: "#^Method PhpParser\\\\NodeDumper\\:\\:dump\\(\\) has parameter \\$node with no value type specified in iterable type array\\.$#"
170			count: 1
171			path: lib/PhpParser/NodeDumper.php
172
173		-
174			message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) has parameter \\$nodes with no value type specified in iterable type array\\.$#"
175			count: 1
176			path: lib/PhpParser/NodeTraverser.php
177
178		-
179			message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) return type has no value type specified in iterable type array\\.$#"
180			count: 1
181			path: lib/PhpParser/NodeTraverser.php
182
183		-
184			message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$attrGroups\\.$#"
185			count: 1
186			path: lib/PhpParser/NodeVisitor/NameResolver.php
187
188		-
189			message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$name\\.$#"
190			count: 1
191			path: lib/PhpParser/NodeVisitor/NameResolver.php
192
193		-
194			message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$namespacedName\\.$#"
195			count: 1
196			path: lib/PhpParser/NodeVisitor/NameResolver.php
197
198		-
199			message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#"
200			count: 1
201			path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
202
203		-
204			message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:enterNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
205			count: 1
206			path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
207
208		-
209			message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:leaveNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
210			count: 1
211			path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
212
213		-
214			message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#"
215			count: 1
216			path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
217
218		-
219			message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:enterNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
220			count: 1
221			path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
222
223		-
224			message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:leaveNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
225			count: 1
226			path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
227
228		-
229			message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_ECHO\\.$#"
230			count: 1
231			path: lib/PhpParser/ParserAbstract.php
232
233		-
234			message: "#^Unary operation \"\\+\" on string results in an error\\.$#"
235			count: 1
236			path: lib/PhpParser/ParserAbstract.php
237
238		-
239			message: "#^Variable \\$action might not be defined\\.$#"
240			count: 1
241			path: lib/PhpParser/ParserAbstract.php
242