xref: /PHP-Parser/phpstan-baseline.neon (revision 018da15f)
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: "#^Constant T_PRIVATE_SET not found\\.$#"
95			count: 2
96			path: lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
97
98		-
99			message: "#^Constant T_PROTECTED_SET not found\\.$#"
100			count: 2
101			path: lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
102
103		-
104			message: "#^Constant T_PUBLIC_SET not found\\.$#"
105			count: 2
106			path: lib/PhpParser/Lexer/TokenEmulator/AsymmetricVisibilityTokenEmulator.php
107
108		-
109			message: "#^Constant T_PROPERTY_C not found\\.$#"
110			count: 1
111			path: lib/PhpParser/Lexer/TokenEmulator/PropertyTokenEmulator.php
112
113		-
114			message: "#^Method PhpParser\\\\NodeDumper\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
115			count: 1
116			path: lib/PhpParser/NodeDumper.php
117
118		-
119			message: "#^Method PhpParser\\\\NodeDumper\\:\\:dump\\(\\) has parameter \\$node with no value type specified in iterable type array\\.$#"
120			count: 1
121			path: lib/PhpParser/NodeDumper.php
122
123		-
124			message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) has parameter \\$nodes with no value type specified in iterable type array\\.$#"
125			count: 1
126			path: lib/PhpParser/NodeTraverser.php
127
128		-
129			message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) return type has no value type specified in iterable type array\\.$#"
130			count: 1
131			path: lib/PhpParser/NodeTraverser.php
132
133		-
134			message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$attrGroups\\.$#"
135			count: 1
136			path: lib/PhpParser/NodeVisitor/NameResolver.php
137
138		-
139			message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$name\\.$#"
140			count: 1
141			path: lib/PhpParser/NodeVisitor/NameResolver.php
142
143		-
144			message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$namespacedName\\.$#"
145			count: 1
146			path: lib/PhpParser/NodeVisitor/NameResolver.php
147
148		-
149			message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#"
150			count: 1
151			path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
152
153		-
154			message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:enterNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
155			count: 1
156			path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
157
158		-
159			message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:leaveNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
160			count: 1
161			path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
162
163		-
164			message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#"
165			count: 1
166			path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
167
168		-
169			message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:enterNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
170			count: 1
171			path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
172
173		-
174			message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:leaveNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
175			count: 1
176			path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.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: "#^Unary operation \"\\+\" on string results in an error\\.$#"
185			count: 1
186			path: lib/PhpParser/ParserAbstract.php
187
188		-
189			message: "#^Variable \\$action might not be defined\\.$#"
190			count: 1
191			path: lib/PhpParser/ParserAbstract.php
192