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