Skip to content

GitHub Actions: Add PHPStan #2387

GitHub Actions: Add PHPStan

GitHub Actions: Add PHPStan #2387

Triggered via pull request August 23, 2023 09:01
Status Failure
Total duration 1m 55s
Artifacts

php.yml

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

Annotations

60 errors
Static analysis for php 7.4 on ubuntu-latest: application/controllers/ErrorController.php#L39
Access to an undefined property Zend_View_Interface::$document.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/ErrorController.php#L46
Access to an undefined property Zend_View_Interface::$title.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/ErrorController.php#L54
Access to an undefined property Zend_View_Interface::$compact.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/HistoryController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HistoryController.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/HistoryController.php#L104
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/HostController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HostController.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/HostController.php#L172
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/NotificationsController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/NotificationsController.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/controllers/NotificationsController.php#L99
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/ErrorController.php#L39
Access to an undefined property Zend_View_Interface::$document.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/ErrorController.php#L46
Access to an undefined property Zend_View_Interface::$title.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/ErrorController.php#L54
Access to an undefined property Zend_View_Interface::$compact.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/HistoryController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HistoryController.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/HistoryController.php#L104
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/HostController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HostController.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/HostController.php#L172
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/NotificationsController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/NotificationsController.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/controllers/NotificationsController.php#L99
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/ErrorController.php#L39
Access to an undefined property Zend_View_Interface::$document.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/ErrorController.php#L46
Access to an undefined property Zend_View_Interface::$title.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/ErrorController.php#L54
Access to an undefined property Zend_View_Interface::$compact.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/HistoryController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HistoryController.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/HistoryController.php#L104
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/HostController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HostController.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/HostController.php#L172
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/NotificationsController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/NotificationsController.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/controllers/NotificationsController.php#L99
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/ErrorController.php#L39
Access to an undefined property Zend_View_Interface::$document.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/ErrorController.php#L46
Access to an undefined property Zend_View_Interface::$title.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/ErrorController.php#L54
Access to an undefined property Zend_View_Interface::$compact.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/HistoryController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HistoryController.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/HistoryController.php#L104
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/HostController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HostController.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/HostController.php#L172
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/NotificationsController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/NotificationsController.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/controllers/NotificationsController.php#L99
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/ErrorController.php#L39
Access to an undefined property Zend_View_Interface::$document.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/ErrorController.php#L46
Access to an undefined property Zend_View_Interface::$title.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/ErrorController.php#L54
Access to an undefined property Zend_View_Interface::$compact.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/HistoryController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HistoryController.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/HistoryController.php#L104
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/HostController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HostController.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/HostController.php#L172
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/NotificationsController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/NotificationsController.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/controllers/NotificationsController.php#L99
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/ErrorController.php#L39
Access to an undefined property Zend_View_Interface::$document.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/ErrorController.php#L46
Access to an undefined property Zend_View_Interface::$title.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/ErrorController.php#L54
Access to an undefined property Zend_View_Interface::$compact.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/HistoryController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HistoryController.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/HistoryController.php#L104
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/HostController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/HostController.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/HostController.php#L172
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/MigrateController.php#L90
Parameter #1 $rule of method ipl\Stdlib\Filter\Chain::replace() expects ipl\Stdlib\Filter\Rule, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/NotificationsController.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Icinga\\Web\\Url\:\:setParam\(\) expects array\|bool\|string, mixed given\.$# in path /app/application/controllers/NotificationsController.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/controllers/NotificationsController.php#L99
Parameter #2 $value of method Icinga\Web\Url::setParam() expects array|string, mixed given.