0m 33s
Jan 30, 2025, 12:02 AM

registry

Updating phpstan to 2.0 (#78) * 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

1+ ./vendor/bin/phpstan 0s
2Note: Using configuration file /drone/src/phpstan.neon. 1s
3 0/8 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% 8/8 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% 4s
4 4s
5 ------ ------------------------------------------------------------------ 5s
6 Line Format/Json.php 5s
7 ------ ------------------------------------------------------------------ 5s
8 66 Strict comparison using !== between non-falsy-string and '' will 5s
9 always evaluate to true. 5s
10 🪪 notIdentical.alwaysTrue 5s
11 ------ ------------------------------------------------------------------ 5s
12 5s
13 ------ -------------------------------------------------------------------- 5s
14 Line Registry.php 5s
15 ------ -------------------------------------------------------------------- 5s
16 236 Negated boolean expression is always false. 5s
17 🪪 booleanNot.alwaysFalse 5s
18 236 Result of || is always false. 5s
19 🪪 booleanOr.alwaysFalse 5s
20 236 Strict comparison using === between mixed and null will always 5s
21 evaluate to false. 5s
22 🪪 identical.alwaysFalse 5s
23 💡 Type null has already been eliminated from mixed. 5s
24 256 Parameter #1 $array of class ArrayIterator constructor expects 5s
25 array<TKey of (int|string), TValue>, stdClass given. 5s
26 🪪 argument.type 5s
27 479 Strict comparison using === between string and null will always 5s
28 evaluate to false. 5s
29 🪪 identical.alwaysFalse 5s
30 💡 Because the type is coming from a PHPDoc, you can turn off this 5s
31 check by setting treatPhpDocTypesAsCertain: false in your 5s
32 phpstan.neon. 5s
33 482 Parameter #2 $callback of function array_filter expects 5s
34 (callable(string): bool)|null, 'strlen' given. 5s
35 🪪 argument.type 5s
36 557 Parameter #2 $callback of function array_filter expects 5s
37 (callable(string): bool)|null, 'strlen' given. 5s
38 🪪 argument.type 5s
39 623 Parameter #2 $callback of function array_filter expects 5s
40 (callable(string): bool)|null, 'strlen' given. 5s
41 🪪 argument.type 5s
42 769 Call to function is_object() with object will always evaluate to 5s
43 true. 5s
44 🪪 function.alreadyNarrowedType 5s
45 💡 Because the type is coming from a PHPDoc, you can turn off this 5s
46 check by setting treatPhpDocTypesAsCertain: false in your 5s
47 phpstan.neon. 5s
48 ------ -------------------------------------------------------------------- 5s
49 5s
50 [ERROR] Found 10 errors 5s
51 5s
Exit Code 1