Skip to content

Store roles in database #30

Store roles in database

Store roles in database #30

Triggered via pull request April 15, 2024 13:45
@Al2KlimovAl2Klimov
synchronize #5134
roles2db
Status Success
Total duration 2m 14s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

70 errors
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ConfigController.php#L138
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ListController.php#L56
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/NavigationController.php#L1
Ignored error pattern #^Cannot call method getLabel\(\) on Icinga\\Web\\Navigation\\NavigationItem\|null\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/NavigationController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/RoleController.php#L100
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function readfile expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function stat expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L31
Parameter #1 $db of static method ipl\Orm\Model::on() expects ipl\Sql\Connection, ipl\Sql\Connection|null given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L48
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ConfigController.php#L138
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ListController.php#L56
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/NavigationController.php#L1
Ignored error pattern #^Cannot call method getLabel\(\) on Icinga\\Web\\Navigation\\NavigationItem\|null\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/NavigationController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/RoleController.php#L100
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function readfile expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function stat expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L31
Parameter #1 $db of static method ipl\Orm\Model::on() expects ipl\Sql\Connection, ipl\Sql\Connection|null given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L48
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ConfigController.php#L138
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ListController.php#L56
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/NavigationController.php#L1
Ignored error pattern #^Cannot call method getLabel\(\) on Icinga\\Web\\Navigation\\NavigationItem\|null\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/NavigationController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/RoleController.php#L100
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function readfile expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function stat expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L31
Parameter #1 $db of static method ipl\Orm\Model::on() expects ipl\Sql\Connection, ipl\Sql\Connection|null given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L48
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ConfigController.php#L138
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ListController.php#L56
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/NavigationController.php#L1
Ignored error pattern #^Cannot call method getLabel\(\) on Icinga\\Web\\Navigation\\NavigationItem\|null\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/NavigationController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/RoleController.php#L100
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function readfile expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function stat expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L31
Parameter #1 $db of static method ipl\Orm\Model::on() expects ipl\Sql\Connection, ipl\Sql\Connection|null given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L48
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ConfigController.php#L138
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ListController.php#L56
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/NavigationController.php#L1
Ignored error pattern #^Cannot call method getLabel\(\) on Icinga\\Web\\Navigation\\NavigationItem\|null\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/NavigationController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/RoleController.php#L100
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function readfile expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function stat expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L31
Parameter #1 $db of static method ipl\Orm\Model::on() expects ipl\Sql\Connection, ipl\Sql\Connection|null given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L48
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ConfigController.php#L138
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ListController.php#L56
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/NavigationController.php#L1
Ignored error pattern #^Cannot call method getLabel\(\) on Icinga\\Web\\Navigation\\NavigationItem\|null\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/NavigationController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/RoleController.php#L100
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function readfile expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function stat expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L31
Parameter #1 $db of static method ipl\Orm\Model::on() expects ipl\Sql\Connection, ipl\Sql\Connection|null given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L48
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ConfigController.php#L138
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ListController.php#L56
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/NavigationController.php#L1
Ignored error pattern #^Cannot call method getLabel\(\) on Icinga\\Web\\Navigation\\NavigationItem\|null\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/NavigationController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/RoleController.php#L100
Parameter #1 $query of method Icinga\Web\Controller::setupPaginationControl() expects Icinga\Data\QueryInterface, null given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function readfile expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/StaticController.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function stat expects string, string\|false given\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/controllers/StaticController.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L31
Parameter #1 $db of static method ipl\Orm\Model::on() expects ipl\Sql\Connection, ipl\Sql\Connection|null given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/forms/Security/RoleDbForm.php#L48
Argument of an invalid type mixed supplied for foreach, only iterables are supported.