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