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