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