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