Skip to content

Add PHPStan and ensure PHP 8.2 support #34

Add PHPStan and ensure PHP 8.2 support

Add PHPStan and ensure PHP 8.2 support #34

Triggered via pull request September 1, 2023 08:42
Status Failure
Total duration 3m 6s
Artifacts

php.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Static analysis for php 7.3 on ubuntu-latest: library/Director/Dashboard/Dashboard.php#L157
Return type mixed of method Icinga\Module\Director\Dashboard\Dashboard::count() is not covariant with tentative return type int of method Countable::count().
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.0 on ubuntu-latest: library/Director/Dashboard/Dashboard.php#L157
Return type mixed of method Icinga\Module\Director\Dashboard\Dashboard::count() is not covariant with tentative return type int of method Countable::count().
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: library/Director/Dashboard/Dashboard.php#L157
Return type mixed of method Icinga\Module\Director\Dashboard\Dashboard::count() is not covariant with tentative return type int of method Countable::count().
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest: library/Director/Dashboard/Dashboard.php#L157
Return type mixed of method Icinga\Module\Director\Dashboard\Dashboard::count() is not covariant with tentative return type int of method Countable::count().
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.2 on ubuntu-latest: library/Director/Dashboard/Dashboard.php#L157
Return type mixed of method Icinga\Module\Director\Dashboard\Dashboard::count() is not covariant with tentative return type int of method Countable::count().
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.4 on ubuntu-latest: library/Director/Dashboard/Dashboard.php#L157
Return type mixed of method Icinga\Module\Director\Dashboard\Dashboard::count() is not covariant with tentative return type int of method Countable::count().
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.