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