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