Skip to content

Github Actions: Add PhpStan #2569

Github Actions: Add PhpStan

Github Actions: Add PhpStan #2569

Triggered via pull request June 15, 2023 09:39
Status Failure
Total duration 3m 25s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

php.yml

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

Annotations

10 errors
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/ApplicationBootstrap.php#L699
Instantiated class ipl\I18n\GettextTranslator not found.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/Benchmark.php#L85
Method Icinga\Application\Benchmark::dump() should return string but return statement is missing.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/EmbeddedWeb.php#L110
Instantiated class ipl\I18n\NoopTranslator not found.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/Hook/GrapherHook.php#L78
Parameter $object of method Icinga\Application\Hook\GrapherHook::has() has invalid type Icinga\Module\Monitoring\Object\MonitoredObject.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/Hook/GrapherHook.php#L91
Parameter $object of method Icinga\Application\Hook\GrapherHook::getPreviewHtml() has invalid type Icinga\Module\Monitoring\Object\MonitoredObject.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/Hook/GrapherHook.php#L107
Parameter $object of method Icinga\Application\Hook\GrapherHook::getTinyPreviewHtml() has invalid type Icinga\Module\Monitoring\Object\MonitoredObject.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/Hook/HealthHook.php#L129
Parameter $url of method Icinga\Application\Hook\HealthHook::setUrl() has invalid type ipl\Web\Url.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/Hook/WebBaseHook.php#L30
Parameter $view of method Icinga\Application\Hook\WebBaseHook::setView() has invalid type Zend_View.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/Modules/Module.php#L32
Class Icinga\Application\Modules\Module uses unknown trait ipl\I18n\Translation.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/Modules/Module.php#L264
Access to an undefined property Icinga\Application\Modules\Module::$configdir.