Skip to content

Store roles in database #52

Store roles in database

Store roles in database #52

Triggered via pull request August 7, 2024 09:29
@Al2KlimovAl2Klimov
synchronize #5134
roles2db
Status Success
Total duration 2m 8s
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 8.2 on ubuntu-latest: application/controllers/ConfigController.php#L157
Call to an undefined method ipl\Sql\Connection::lastInsertId().
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ConfigController.php#L158
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ConfigController.php#L159
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ConfigController.php#L162
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ConfigController.php#L171
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/controllers/ConfigController.php#L257
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#L133
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 7.4 on ubuntu-latest: application/controllers/ConfigController.php#L157
Call to an undefined method ipl\Sql\Connection::lastInsertId().
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ConfigController.php#L158
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ConfigController.php#L159
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ConfigController.php#L162
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ConfigController.php#L171
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/controllers/ConfigController.php#L257
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#L133
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.3 on ubuntu-latest: application/controllers/ConfigController.php#L157
Call to an undefined method ipl\Sql\Connection::lastInsertId().
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ConfigController.php#L158
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ConfigController.php#L159
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ConfigController.php#L162
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ConfigController.php#L171
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/controllers/ConfigController.php#L257
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#L133
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 8.3 on ubuntu-latest: application/controllers/ConfigController.php#L157
Call to an undefined method ipl\Sql\Connection::lastInsertId().
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ConfigController.php#L158
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ConfigController.php#L159
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ConfigController.php#L162
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ConfigController.php#L171
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/controllers/ConfigController.php#L257
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#L133
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.0 on ubuntu-latest: application/controllers/ConfigController.php#L157
Call to an undefined method ipl\Sql\Connection::lastInsertId().
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ConfigController.php#L158
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ConfigController.php#L159
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ConfigController.php#L162
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ConfigController.php#L171
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/controllers/ConfigController.php#L257
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#L133
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 7.2 on ubuntu-latest: application/controllers/ConfigController.php#L157
Call to an undefined method ipl\Sql\Connection::lastInsertId().
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ConfigController.php#L158
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ConfigController.php#L159
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ConfigController.php#L162
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ConfigController.php#L171
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/controllers/ConfigController.php#L257
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#L133
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 8.1 on ubuntu-latest: application/controllers/ConfigController.php#L157
Call to an undefined method ipl\Sql\Connection::lastInsertId().
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ConfigController.php#L158
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ConfigController.php#L159
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ConfigController.php#L162
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ConfigController.php#L171
Parameter #1 $value of static method Icinga\Util\StringHelper::trimSplit() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/controllers/ConfigController.php#L257
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#L133
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.