GitHub Actions: Add PHPStan #2365
Annotations
20 errors
application/controllers/ErrorController.php#L39
Access to an undefined property Zend_View_Interface::$document.
|
application/controllers/ErrorController.php#L46
Access to an undefined property Zend_View_Interface::$title.
|
application/controllers/ErrorController.php#L54
Access to an undefined property Zend_View_Interface::$compact.
|
application/controllers/HostsController.php#L88
Variable $summary in isset() always exists and is not nullable.
|
application/controllers/ServicesController.php#L338
Call to an undefined method Zend_Controller_Action_Helper_Abstract::setScriptAction().
|
application/controllers/ServicesController.php#L346
Call to an undefined method Zend_Controller_Action_Helper_Abstract::setNoRender().
|
application/controllers/ServicesController.php#L349
Call to an undefined method Zend_Controller_Action_Helper_Abstract::getResponseSegment().
|
application/controllers/ServicesController.php#L433
Call to an undefined method ipl\Html\Contract\FormElement::isChecked().
|
application/forms/Command/Instance/ToggleInstanceFeaturesForm.php#L139
Call to an undefined method ipl\Html\Contract\FormElement::isChecked().
|
application/forms/Command/Object/AcknowledgeProblemForm.php#L140
Call to an undefined method ipl\Html\Contract\FormElement::isChecked().
|
application/controllers/CommandTransportController.php#L142
application/controllers/CommandTransportController.php:142:39: PossiblyFalseArgument: Argument 2 of array_splice cannot be false, possibly int value expected (see https://psalm.dev/104)
|
application/controllers/CommentController.php#L47
application/controllers/CommentController.php:47:26: PropertyTypeCoercion: $this->comment expects 'Icinga\Module\Icingadb\Model\Comment', parent type 'ipl\Orm\Model' provided (see https://psalm.dev/198)
|
application/controllers/CommentsController.php#L72
application/controllers/CommentsController.php:72:30: NullArgument: Argument 1 of ipl\Orm\Query::peekAhead cannot be null, null value provided to parameter with type bool (see https://psalm.dev/057)
|
application/controllers/DowntimeController.php#L57
application/controllers/DowntimeController.php:57:27: PropertyTypeCoercion: $this->downtime expects 'Icinga\Module\Icingadb\Model\Downtime', parent type 'ipl\Orm\Model' provided (see https://psalm.dev/198)
|
application/controllers/DowntimesController.php#L78
application/controllers/DowntimesController.php:78:31: NullArgument: Argument 1 of ipl\Orm\Query::peekAhead cannot be null, null value provided to parameter with type bool (see https://psalm.dev/057)
|
application/controllers/ErrorController.php#L39
application/controllers/ErrorController.php:39:9: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
|
application/controllers/ErrorController.php#L46
application/controllers/ErrorController.php:46:28: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
|
application/controllers/ErrorController.php#L54
application/controllers/ErrorController.php:54:15: NoInterfaceProperties: Interfaces cannot have properties (see https://psalm.dev/028)
|
application/controllers/EventController.php#L58
application/controllers/EventController.php:58:24: PropertyTypeCoercion: $this->event expects 'Icinga\Module\Icingadb\Model\History', parent type 'ipl\Orm\Model|null' provided (see https://psalm.dev/198)
|
application/controllers/HealthController.php#L60
application/controllers/HealthController.php:60:29: PossiblyNullPropertyFetch: Cannot get property on possibly null variable $hoststateSummary of type ipl\Orm\Model|null (see https://psalm.dev/082)
|
The logs for this run have expired and are no longer available.
Loading