Skip to content

Github Actions: Add PhpStan #2879

Github Actions: Add PhpStan

Github Actions: Add PhpStan #2879

Triggered via pull request August 10, 2023 11:15
Status Failure
Total duration 3m 13s
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
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

60 errors
Static analysis for php 7.3 on ubuntu-latest: application/forms/ActionForm.php#L76
Method Icinga\Forms\ActionForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 7.3 on ubuntu-latest: application/forms/AutoRefreshForm.php#L46
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 7.3 on ubuntu-latest: application/forms/AutoRefreshForm.php#L52
Method Icinga\Forms\AutoRefreshForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 7.3 on ubuntu-latest: application/forms/Config/UserBackendConfigForm.php#L372
Method Icinga\Forms\Config\UserBackendConfigForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 7.3 on ubuntu-latest: application/forms/Config/UserGroup/UserGroupBackendForm.php#L49
Method Icinga\Forms\Config\UserGroup\UserGroupBackendForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 7.3 on ubuntu-latest: application/forms/Navigation/NavigationConfigForm.php#L782
Method Icinga\Forms\Navigation\NavigationConfigForm::getConfigForItem() should return Icinga\Application\Config|null but return statement is missing.
Static analysis for php 7.3 on ubuntu-latest: application/forms/PreferenceForm.php#L117
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 7.3 on ubuntu-latest: application/forms/PreferenceForm.php#L136
Method Icinga\Forms\PreferenceForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 7.3 on ubuntu-latest: library/Icinga/Application/Hook/WebBaseHook.php#L46
Access to an undefined property Zend_Controller_Action_Helper_Abstract::$view.
Static analysis for php 7.4 on ubuntu-latest: application/forms/ActionForm.php#L76
Method Icinga\Forms\ActionForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 7.4 on ubuntu-latest: application/forms/AutoRefreshForm.php#L46
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 7.4 on ubuntu-latest: application/forms/AutoRefreshForm.php#L52
Method Icinga\Forms\AutoRefreshForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 7.4 on ubuntu-latest: application/forms/Config/UserBackendConfigForm.php#L372
Method Icinga\Forms\Config\UserBackendConfigForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 7.4 on ubuntu-latest: application/forms/Config/UserGroup/UserGroupBackendForm.php#L49
Method Icinga\Forms\Config\UserGroup\UserGroupBackendForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 7.4 on ubuntu-latest: application/forms/Navigation/NavigationConfigForm.php#L782
Method Icinga\Forms\Navigation\NavigationConfigForm::getConfigForItem() should return Icinga\Application\Config|null but return statement is missing.
Static analysis for php 7.4 on ubuntu-latest: application/forms/PreferenceForm.php#L117
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 7.4 on ubuntu-latest: application/forms/PreferenceForm.php#L136
Method Icinga\Forms\PreferenceForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 7.4 on ubuntu-latest: library/Icinga/Application/Hook/WebBaseHook.php#L46
Access to an undefined property Zend_Controller_Action_Helper_Abstract::$view.
Static analysis for php 8.2 on ubuntu-latest: application/forms/ActionForm.php#L76
Method Icinga\Forms\ActionForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 8.2 on ubuntu-latest: application/forms/AutoRefreshForm.php#L46
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 8.2 on ubuntu-latest: application/forms/AutoRefreshForm.php#L52
Method Icinga\Forms\AutoRefreshForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 8.2 on ubuntu-latest: application/forms/Config/UserBackendConfigForm.php#L372
Method Icinga\Forms\Config\UserBackendConfigForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 8.2 on ubuntu-latest: application/forms/Config/UserGroup/UserGroupBackendForm.php#L49
Method Icinga\Forms\Config\UserGroup\UserGroupBackendForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 8.2 on ubuntu-latest: application/forms/Navigation/NavigationConfigForm.php#L782
Method Icinga\Forms\Navigation\NavigationConfigForm::getConfigForItem() should return Icinga\Application\Config|null but return statement is missing.
Static analysis for php 8.2 on ubuntu-latest: application/forms/PreferenceForm.php#L117
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 8.2 on ubuntu-latest: application/forms/PreferenceForm.php#L136
Method Icinga\Forms\PreferenceForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 8.2 on ubuntu-latest: library/Icinga/Application/Hook/WebBaseHook.php#L46
Access to an undefined property Zend_Controller_Action_Helper_Abstract::$view.
Static analysis for php 8.1 on ubuntu-latest: application/forms/ActionForm.php#L76
Method Icinga\Forms\ActionForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 8.1 on ubuntu-latest: application/forms/AutoRefreshForm.php#L46
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 8.1 on ubuntu-latest: application/forms/AutoRefreshForm.php#L52
Method Icinga\Forms\AutoRefreshForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 8.1 on ubuntu-latest: application/forms/Config/UserBackendConfigForm.php#L372
Method Icinga\Forms\Config\UserBackendConfigForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 8.1 on ubuntu-latest: application/forms/Config/UserGroup/UserGroupBackendForm.php#L49
Method Icinga\Forms\Config\UserGroup\UserGroupBackendForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 8.1 on ubuntu-latest: application/forms/Navigation/NavigationConfigForm.php#L782
Method Icinga\Forms\Navigation\NavigationConfigForm::getConfigForItem() should return Icinga\Application\Config|null but return statement is missing.
Static analysis for php 8.1 on ubuntu-latest: application/forms/PreferenceForm.php#L117
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 8.1 on ubuntu-latest: application/forms/PreferenceForm.php#L136
Method Icinga\Forms\PreferenceForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 8.1 on ubuntu-latest: library/Icinga/Application/Hook/WebBaseHook.php#L46
Access to an undefined property Zend_Controller_Action_Helper_Abstract::$view.
Static analysis for php 7.2 on ubuntu-latest: application/forms/ActionForm.php#L76
Method Icinga\Forms\ActionForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 7.2 on ubuntu-latest: application/forms/AutoRefreshForm.php#L46
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 7.2 on ubuntu-latest: application/forms/AutoRefreshForm.php#L52
Method Icinga\Forms\AutoRefreshForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 7.2 on ubuntu-latest: application/forms/Config/UserBackendConfigForm.php#L372
Method Icinga\Forms\Config\UserBackendConfigForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 7.2 on ubuntu-latest: application/forms/Config/UserGroup/UserGroupBackendForm.php#L49
Method Icinga\Forms\Config\UserGroup\UserGroupBackendForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 7.2 on ubuntu-latest: application/forms/Navigation/NavigationConfigForm.php#L782
Method Icinga\Forms\Navigation\NavigationConfigForm::getConfigForItem() should return Icinga\Application\Config|null but return statement is missing.
Static analysis for php 7.2 on ubuntu-latest: application/forms/PreferenceForm.php#L117
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 7.2 on ubuntu-latest: application/forms/PreferenceForm.php#L136
Method Icinga\Forms\PreferenceForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 7.2 on ubuntu-latest: library/Icinga/Application/Hook/WebBaseHook.php#L46
Access to an undefined property Zend_Controller_Action_Helper_Abstract::$view.
Static analysis for php 8.0 on ubuntu-latest: application/forms/ActionForm.php#L76
Method Icinga\Forms\ActionForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 8.0 on ubuntu-latest: application/forms/AutoRefreshForm.php#L46
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 8.0 on ubuntu-latest: application/forms/AutoRefreshForm.php#L52
Method Icinga\Forms\AutoRefreshForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 8.0 on ubuntu-latest: application/forms/Config/UserBackendConfigForm.php#L372
Method Icinga\Forms\Config\UserBackendConfigForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 8.0 on ubuntu-latest: application/forms/Config/UserGroup/UserGroupBackendForm.php#L49
Method Icinga\Forms\Config\UserGroup\UserGroupBackendForm::inspectUserBackend() should return Icinga\Data\Inspection|null but return statement is missing.
Static analysis for php 8.0 on ubuntu-latest: application/forms/Navigation/NavigationConfigForm.php#L782
Method Icinga\Forms\Navigation\NavigationConfigForm::getConfigForItem() should return Icinga\Application\Config|null but return statement is missing.
Static analysis for php 8.0 on ubuntu-latest: application/forms/PreferenceForm.php#L117
Access to an undefined property Icinga\User\Preferences::$icingaweb.
Static analysis for php 8.0 on ubuntu-latest: application/forms/PreferenceForm.php#L136
Method Icinga\Forms\PreferenceForm::onSuccess() should return bool|null but return statement is missing.
Static analysis for php 8.0 on ubuntu-latest: library/Icinga/Application/Hook/WebBaseHook.php#L46
Access to an undefined property Zend_Controller_Action_Helper_Abstract::$view.