0m 23s
Jan 25, 2025, 12:02 AM

profiler

Updating phpstan to 2.0 (#14) * 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/6 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% 6/6 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% 2s
4 2s
5 ------ ---------------------------------------------------------------------- 2s
6 Line Profiler.php 2s
7 ------ ---------------------------------------------------------------------- 2s
8 123 Instanceof between Joomla\Profiler\ProfilePointInterface and 2s
9 Joomla\Profiler\ProfilePointInterface will always evaluate to true. 2s
10 🪪 instanceof.alwaysTrue 2s
11 💡 Because the type is coming from a PHPDoc, you can turn off this 2s
12 check by setting treatPhpDocTypesAsCertain: false in your 2s
13 phpstan.neon. 2s
14 413 Return type mixed of method Joomla\Profiler\Profiler::getIterator() 2s
15 is not covariant with tentative return type Traversable of method 2s
16 IteratorAggregate<mixed,mixed>::getIterator(). 2s
17 💡 Make it covariant, or use the #[\ReturnTypeWillChange] attribute 2s
18 to temporarily suppress the error. 2s
19 425 Return type mixed of method Joomla\Profiler\Profiler::count() is not 2s
20 covariant with tentative return type int of method 2s
21 Countable::count(). 2s
22 💡 Make it covariant, or use the #[\ReturnTypeWillChange] attribute 2s
23 to temporarily suppress the error. 2s
24 ------ ---------------------------------------------------------------------- 2s
25 2s
26 ------ -------------------------------------------------------------------- 2s
27 Line Renderer/DefaultRenderer.php 2s
28 ------ -------------------------------------------------------------------- 2s
29 36 PHPDoc tag @var with type Joomla\Profiler\ProfilePointInterface is 2s
30 not subtype of native type null. 2s
31 🪪 varTag.nativeType 2s
32 41 Ternary operator condition is always true. 2s
33 🪪 ternary.alwaysTrue 2s
34 💡 Because the type is coming from a PHPDoc, you can turn off this 2s
35 check by setting treatPhpDocTypesAsCertain: false in your 2s
36 phpstan.neon. 2s
37 42 Ternary operator condition is always true. 2s
38 🪪 ternary.alwaysTrue 2s
39 💡 Because the type is coming from a PHPDoc, you can turn off this 2s
40 check by setting treatPhpDocTypesAsCertain: false in your 2s
41 phpstan.neon. 2s
42 ------ -------------------------------------------------------------------- 2s
43 2s
44 [ERROR] Found 6 errors 2s
45 2s
Exit Code 1