0m 32s
Jan 29, 2025, 12:02 AM

string

Updating phpstan to 2.0 (#51) * Updating phpstan to 2.0 * Adding PHP 8.3/8.4 everywhere

Hackwar
executed scheduled task
nightly-build-3-x

Pipeline stages

6 stages

Console Logs

227 🪪 argument.type 6s
228 49 Parameter #2 $times of function str_repeat expects int, float given. 6s
229 🪪 argument.type 6s
230 ------ ---------------------------------------------------------------------- 6s
231 6s
232 ------ ----------------------------------------------------------------------- 6s
233 Line phputf8/str_split.php 6s
234 ------ ----------------------------------------------------------------------- 6s
235 12 PHPDoc tag @param has invalid value (string UTF-8 encoded): 6s
236 Unexpected token "UTF-8", expected variable at offset 132 on line 5 6s
237 🪪 phpDoc.parseError 6s
238 13 PHPDoc tag @param has invalid value (int number to characters to 6s
239 split string by): Unexpected token "number", expected variable at 6s
240 offset 159 on line 6 6s
241 🪪 phpDoc.parseError 6s
242 22 Function utf8_str_split() should return string but returns false. 6s
243 🪪 return.type 6s
244 27 Function utf8_str_split() should return string but returns array<int, 6s
245 mixed>. 6s
246 🪪 return.type 6s
247 31 Function utf8_str_split() should return string but returns 6s
248 list<string>. 6s
249 🪪 return.type 6s
250 ------ ----------------------------------------------------------------------- 6s
251 6s
252 ------ --------------------------------------------------------------------- 6s
253 Line phputf8/strcasecmp.php 6s
254 ------ --------------------------------------------------------------------- 6s
255 12 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
256 ", expected variable at offset 131 on line 5 6s
257 🪪 phpDoc.parseError 6s
258 13 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
259 ", expected variable at offset 147 on line 6 6s
260 🪪 phpDoc.parseError 6s
261 ------ --------------------------------------------------------------------- 6s
262 6s
263 ------ --------------------------------------------------------------------- 6s
264 Line phputf8/strcspn.php 6s
265 ------ --------------------------------------------------------------------- 6s
266 12 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
267 ", expected variable at offset 180 on line 5 6s
268 🪪 phpDoc.parseError 6s
269 21 Function utf8_strcspn() should return int but returns null. 6s
270 🪪 return.type 6s
271 ------ --------------------------------------------------------------------- 6s
272 6s
273 ------ --------------------------------------------------------------------- 6s
274 Line phputf8/stristr.php 6s
275 ------ --------------------------------------------------------------------- 6s
276 12 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
277 ", expected variable at offset 159 on line 5 6s
278 🪪 phpDoc.parseError 6s
279 13 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
280 ", expected variable at offset 175 on line 6 6s
281 🪪 phpDoc.parseError 6s
282 32 Function utf8_stristr() should return int but returns string. 6s
283 🪪 return.type 6s
284 35 Function utf8_stristr() should return int but returns false. 6s
285 🪪 return.type 6s
286 ------ --------------------------------------------------------------------- 6s
287 6s
288 ------ -------------------------------------------------------------------- 6s
289 Line phputf8/strrev.php 6s
290 ------ -------------------------------------------------------------------- 6s
291 11 PHPDoc tag @param has invalid value (string UTF-8 encoded): 6s
292 Unexpected token "UTF-8", expected variable at offset 75 on line 4 6s
293 🪪 phpDoc.parseError 6s
294 ------ -------------------------------------------------------------------- 6s
295 6s
296 ------ --------------------------------------------------------------------- 6s
297 Line phputf8/strspn.php 6s
298 ------ --------------------------------------------------------------------- 6s
299 12 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
300 ", expected variable at offset 175 on line 5 6s
301 🪪 phpDoc.parseError 6s
302 ------ --------------------------------------------------------------------- 6s
303 6s
304 ------ --------------------------------------------------------------------- 6s
305 Line phputf8/ucfirst.php 6s
306 ------ --------------------------------------------------------------------- 6s
307 12 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
308 ", expected variable at offset 133 on line 5 6s
309 🪪 phpDoc.parseError 6s
310 23 Unreachable statement - code above always terminates. 6s
311 🪪 deadCode.unreachable 6s
312 26 Unreachable statement - code above always terminates. 6s
313 🪪 deadCode.unreachable 6s
314 30 Unreachable statement - code above always terminates. 6s
315 🪪 deadCode.unreachable 6s
316 ------ --------------------------------------------------------------------- 6s
317 6s
318 ------ ----------------------------------------------------------------------- 6s
319 Line phputf8/ucwords.php 6s
320 ------ ----------------------------------------------------------------------- 6s
321 12 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
322 ", expected variable at offset 170 on line 5 6s
323 🪪 phpDoc.parseError 6s
324 30 PHPDoc tag @param has invalid value (array of matches corresponding 6s
325 to a single word): Unexpected token "of", expected variable at offset 6s
326 125 on line 4 6s
327 🪪 phpDoc.parseError 6s
328 ------ ----------------------------------------------------------------------- 6s
329 6s
330 ------ --------------------------------------------------------------------- 6s
331 Line phputf8/utf8.php 6s
332 ------ --------------------------------------------------------------------- 6s
333 46 Constant MB_OVERLOAD_STRING not found. 6s
334 🪪 constant.notFound 6s
335 💡 Learn more at https://phpstan.org/user-guide/discovering-symbols 6s
336 ------ --------------------------------------------------------------------- 6s
337 6s
338 ------ ----------------------------------------------------------------------- 6s
339 Line phputf8/utils/ascii.php 6s
340 ------ ----------------------------------------------------------------------- 6s
341 25 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
342 ", expected variable at offset 500 on line 16 6s
343 🪪 phpDoc.parseError 6s
344 42 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
345 ", expected variable at offset 224 on line 6 6s
346 🪪 phpDoc.parseError 6s
347 62 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
348 ", expected variable at offset 176 on line 5 6s
349 🪪 phpDoc.parseError 6s
350 94 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
351 ", expected variable at offset 259 on line 7 6s
352 🪪 phpDoc.parseError 6s
353 123 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
354 ", expected variable at offset 203 on line 6 6s
355 🪪 phpDoc.parseError 6s
356 162 PHPDoc tag @param has invalid value (string UTF-8 string): Unexpected 6s
357 token "UTF-8", expected variable at offset 813 on line 15 6s
358 🪪 phpDoc.parseError 6s
359 163 PHPDoc tag @param has invalid value (int (optional) -1 lowercase 6s
360 only, +1 uppercase only, 1 both cases): Unexpected token "(", 6s
361 expected variable at offset 839 on line 16 6s
362 🪪 phpDoc.parseError 6s
363 164 PHPDoc tag @param has invalid value (string UTF-8 with accented 6s
364 characters replaced by ASCII chars): Unexpected token "UTF-8", 6s
365 expected variable at offset 917 on line 17 6s
366 🪪 phpDoc.parseError 6s
367 ------ ----------------------------------------------------------------------- 6s
368 6s
369 ------ ----------------------------------------------------------------------- 6s
370 Line phputf8/utils/bad.php 6s
371 ------ ----------------------------------------------------------------------- 6s
372 27 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
373 ", expected variable at offset 334 on line 8 6s
374 🪪 phpDoc.parseError 6s
375 64 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
376 ", expected variable at offset 342 on line 8 6s
377 🪪 phpDoc.parseError 6s
378 103 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
379 ", expected variable at offset 313 on line 7 6s
380 🪪 phpDoc.parseError 6s
381 139 PHPDoc tag @param has invalid value (string to search): Unexpected 6s
382 token "to", expected variable at offset 348 on line 8 6s
383 🪪 phpDoc.parseError 6s
384 140 PHPDoc tag @param has invalid value (string to replace bad bytes with 6s
385 (defaults to '?') - use ASCII): Unexpected token "to", expected 6s
386 variable at offset 374 on line 9 6s
387 🪪 phpDoc.parseError 6s
388 241 PHPDoc tag @param has invalid value (string UTF-8 encoded string): 6s
389 Unexpected token "UTF-8", expected variable at offset 428 on line 11 6s
390 🪪 phpDoc.parseError 6s
391 361 PHPDoc tag @param has invalid value (int return code from 6s
392 utf8_bad_identify): Unexpected token "return", expected variable at 6s
393 offset 133 on line 4 6s
394 🪪 phpDoc.parseError 6s
395 371 Unreachable statement - code above always terminates. 6s
396 🪪 deadCode.unreachable 6s
397 375 Unreachable statement - code above always terminates. 6s
398 🪪 deadCode.unreachable 6s
399 379 Unreachable statement - code above always terminates. 6s
400 🪪 deadCode.unreachable 6s
401 383 Unreachable statement - code above always terminates. 6s
402 🪪 deadCode.unreachable 6s
403 387 Unreachable statement - code above always terminates. 6s
404 🪪 deadCode.unreachable 6s
405 391 Unreachable statement - code above always terminates. 6s
406 🪪 deadCode.unreachable 6s
407 395 Unreachable statement - code above always terminates. 6s
408 🪪 deadCode.unreachable 6s
409 ------ ----------------------------------------------------------------------- 6s
410 6s
411 ------ ----------------------------------------------------------------------- 6s
412 Line phputf8/utils/position.php 6s
413 ------ ----------------------------------------------------------------------- 6s
414 22 PHPDoc tag @param has invalid value (string string to locate index 6s
415 in): Unexpected token "string", expected variable at offset 586 on 6s
416 line 14 6s
417 🪪 phpDoc.parseError 6s
418 23 PHPDoc tag @param has invalid value (int (n times)): Unexpected token 6s
419 "(", expected variable at offset 625 on line 15 6s
420 🪪 phpDoc.parseError 6s
421 115 Function utf8_byte_position() should return bool but returns int. 6s
422 🪪 return.type 6s
423 118 Function utf8_byte_position() should return bool but returns 6s
424 list<int>. 6s
425 🪪 return.type 6s
426 130 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
427 ", expected variable at offset 424 on line 9 6s
428 🪪 phpDoc.parseError 6s
429 131 PHPDoc tag @param has invalid value (int byte index in the string): 6s
430 Unexpected token "byte", expected variable at offset 438 on line 10 6s
431 🪪 phpDoc.parseError 6s
432 163 PHPDoc tag @param has invalid value (string): Unexpected token "\n* 6s
433 ", expected variable at offset 310 on line 7 6s
434 🪪 phpDoc.parseError 6s
435 164 PHPDoc tag @param has invalid value (int byte index in the string): 6s
436 Unexpected token "byte", expected variable at offset 324 on line 8 6s
437 🪪 phpDoc.parseError 6s
438 ------ ----------------------------------------------------------------------- 6s
439 6s
440 ------ ------------------------------------------------------------------- 6s
441 Line phputf8/utils/specials.php 6s
442 ------ ------------------------------------------------------------------- 6s
443 100 PHPDoc tag @param has invalid value (string to check): Unexpected 6s
444 token "to", expected variable at offset 368 on line 8 6s
445 🪪 phpDoc.parseError 6s
446 121 PHPDoc tag @param has invalid value (string (optional) $repl 6s
447 Replace special with this string): Unexpected token "(", expected 6s
448 variable at offset 485 on line 12 6s
449 🪪 phpDoc.parseError 6s
450 ------ ------------------------------------------------------------------- 6s
451 6s
452 ------ ---------------------------------------------------------------------- 6s
453 Line phputf8/utils/unicode.php 6s
454 ------ ---------------------------------------------------------------------- 6s
455 35 PHPDoc tag @param has invalid value (string UTF-8 encoded string): 6s
456 Unexpected token "UTF-8", expected variable at offset 780 on line 17 6s
457 🪪 phpDoc.parseError 6s
458 188 PHPDoc tag @param has invalid value (array of unicode code points 6s
459 representing a string): Unexpected token "of", expected variable at 6s
460 offset 586 on line 12 6s
461 🪪 phpDoc.parseError 6s
462 ------ ---------------------------------------------------------------------- 6s
463 6s
464 ------ ---------------------------------------------------------------------- 6s
465 Line phputf8/utils/validation.php 6s
466 ------ ---------------------------------------------------------------------- 6s
467 24 PHPDoc tag @param has invalid value (string UTF-8 encoded string): 6s
468 Unexpected token "UTF-8", expected variable at offset 207 on line 6 6s
469 🪪 phpDoc.parseError 6s
470 160 PHPDoc tag @param has invalid value (string UTF-8 string to check): 6s
471 Unexpected token "UTF-8", expected variable at offset 641 on line 13 6s
472 🪪 phpDoc.parseError 6s
473 ------ ---------------------------------------------------------------------- 6s
474 6s
475 [ERROR] Found 122 errors 6s
476 6s
Exit Code 1