Skip to content

Github Actions: Add Phpstan #605

Github Actions: Add Phpstan

Github Actions: Add Phpstan #605

Triggered via pull request July 12, 2023 15:29
Status Failure
Total duration 1m 5s
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

60 errors
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/JobsCommand.php#L117
Parameter #3 $fromDisk of static method Icinga\Application\Config::module() expects string, true given.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/ScanCommand.php#L126
Call to an undefined method React\Promise\ExtendedPromiseInterface::cancel().
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/ScanCommand.php#L137
Call to an undefined method React\Promise\PromiseInterface::always().
Static analysis for php 7.2 on ubuntu-latest: application/controllers/CertificateController.php#L39
Parameter #1 $cert of method Icinga\Module\X509\CertificateDetails::setCert() expects Icinga\Module\X509\Model\X509Certificate, ipl\Orm\Model|null given.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/CertificatesController.php#L53
Call to private method createSearchBar() of class Icinga\Module\X509\Controller.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/CertificatesController.php#L71
Parameter #1 $peekAhead of method ipl\Orm\Query::peekAhead() expects bool, null given.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/IconsController.php#L16
Access to an undefined property Zend_Controller_Action_HelperBroker::$viewRenderer.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/IconsController.php#L17
Call to an undefined method Zend_Controller_Action_HelperBroker::layout().
Static analysis for php 7.2 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$frequencyType.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$schedule.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/JobsCommand.php#L117
Parameter #3 $fromDisk of static method Icinga\Application\Config::module() expects string, true given.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/ScanCommand.php#L126
Call to an undefined method React\Promise\ExtendedPromiseInterface::cancel().
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/ScanCommand.php#L137
Call to an undefined method React\Promise\PromiseInterface::always().
Static analysis for php 7.4 on ubuntu-latest: application/controllers/CertificateController.php#L39
Parameter #1 $cert of method Icinga\Module\X509\CertificateDetails::setCert() expects Icinga\Module\X509\Model\X509Certificate, ipl\Orm\Model|null given.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/CertificatesController.php#L53
Call to private method createSearchBar() of class Icinga\Module\X509\Controller.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/CertificatesController.php#L71
Parameter #1 $peekAhead of method ipl\Orm\Query::peekAhead() expects bool, null given.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/IconsController.php#L16
Access to an undefined property Zend_Controller_Action_HelperBroker::$viewRenderer.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/IconsController.php#L17
Call to an undefined method Zend_Controller_Action_HelperBroker::layout().
Static analysis for php 7.4 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$frequencyType.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$schedule.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/JobsCommand.php#L117
Parameter #3 $fromDisk of static method Icinga\Application\Config::module() expects string, true given.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/ScanCommand.php#L126
Call to an undefined method React\Promise\ExtendedPromiseInterface::cancel().
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/ScanCommand.php#L137
Call to an undefined method React\Promise\PromiseInterface::always().
Static analysis for php 7.3 on ubuntu-latest: application/controllers/CertificateController.php#L39
Parameter #1 $cert of method Icinga\Module\X509\CertificateDetails::setCert() expects Icinga\Module\X509\Model\X509Certificate, ipl\Orm\Model|null given.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/CertificatesController.php#L53
Call to private method createSearchBar() of class Icinga\Module\X509\Controller.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/CertificatesController.php#L71
Parameter #1 $peekAhead of method ipl\Orm\Query::peekAhead() expects bool, null given.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/IconsController.php#L16
Access to an undefined property Zend_Controller_Action_HelperBroker::$viewRenderer.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/IconsController.php#L17
Call to an undefined method Zend_Controller_Action_HelperBroker::layout().
Static analysis for php 7.3 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$frequencyType.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$schedule.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/JobsCommand.php#L117
Parameter #3 $fromDisk of static method Icinga\Application\Config::module() expects string, true given.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/ScanCommand.php#L126
Call to an undefined method React\Promise\ExtendedPromiseInterface::cancel().
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/ScanCommand.php#L137
Call to an undefined method React\Promise\PromiseInterface::always().
Static analysis for php 8.2 on ubuntu-latest: application/controllers/CertificateController.php#L39
Parameter #1 $cert of method Icinga\Module\X509\CertificateDetails::setCert() expects Icinga\Module\X509\Model\X509Certificate, ipl\Orm\Model|null given.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/CertificatesController.php#L53
Call to private method createSearchBar() of class Icinga\Module\X509\Controller.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/CertificatesController.php#L71
Parameter #1 $peekAhead of method ipl\Orm\Query::peekAhead() expects bool, null given.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/IconsController.php#L16
Access to an undefined property Zend_Controller_Action_HelperBroker::$viewRenderer.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/IconsController.php#L17
Call to an undefined method Zend_Controller_Action_HelperBroker::layout().
Static analysis for php 8.2 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$frequencyType.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$schedule.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/JobsCommand.php#L117
Parameter #3 $fromDisk of static method Icinga\Application\Config::module() expects string, true given.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/ScanCommand.php#L126
Call to an undefined method React\Promise\ExtendedPromiseInterface::cancel().
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/ScanCommand.php#L137
Call to an undefined method React\Promise\PromiseInterface::always().
Static analysis for php 8.1 on ubuntu-latest: application/controllers/CertificateController.php#L39
Parameter #1 $cert of method Icinga\Module\X509\CertificateDetails::setCert() expects Icinga\Module\X509\Model\X509Certificate, ipl\Orm\Model|null given.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/CertificatesController.php#L53
Call to private method createSearchBar() of class Icinga\Module\X509\Controller.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/CertificatesController.php#L71
Parameter #1 $peekAhead of method ipl\Orm\Query::peekAhead() expects bool, null given.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/IconsController.php#L16
Access to an undefined property Zend_Controller_Action_HelperBroker::$viewRenderer.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/IconsController.php#L17
Call to an undefined method Zend_Controller_Action_HelperBroker::layout().
Static analysis for php 8.1 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$frequencyType.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$schedule.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/JobsCommand.php#L117
Parameter #3 $fromDisk of static method Icinga\Application\Config::module() expects string, true given.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/ScanCommand.php#L126
Call to an undefined method React\Promise\ExtendedPromiseInterface::cancel().
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/ScanCommand.php#L137
Call to an undefined method React\Promise\PromiseInterface::always().
Static analysis for php 8.0 on ubuntu-latest: application/controllers/CertificateController.php#L39
Parameter #1 $cert of method Icinga\Module\X509\CertificateDetails::setCert() expects Icinga\Module\X509\Model\X509Certificate, ipl\Orm\Model|null given.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/CertificatesController.php#L53
Call to private method createSearchBar() of class Icinga\Module\X509\Controller.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/CertificatesController.php#L71
Parameter #1 $peekAhead of method ipl\Orm\Query::peekAhead() expects bool, null given.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/IconsController.php#L16
Access to an undefined property Zend_Controller_Action_HelperBroker::$viewRenderer.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/IconsController.php#L17
Call to an undefined method Zend_Controller_Action_HelperBroker::layout().
Static analysis for php 8.0 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$frequencyType.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/JobsController.php#L98
Access to an undefined property object|false::$schedule.