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