Skip to content

LdapConnection: Access array key only if its set #22

LdapConnection: Access array key only if its set

LdapConnection: Access array key only if its set #22

Triggered via pull request April 11, 2024 08:12
Status Success
Total duration 5m 46s
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.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/RoleController.php#L74
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/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: application/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$refusals\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
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 7.4 on ubuntu-latest: application/forms/Security/RoleForm.php#L329
Ignored error pattern #^Access to an undefined property object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php is expected to occur 1 time, but occurred 2 times.
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/RoleController.php#L74
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/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest: library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Cannot access offset 0 on array\<mixed, mixed\>\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$refusals\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/forms/Security/RoleForm.php#L329
Ignored error pattern #^Access to an undefined property object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Cannot access offset 0 on array\<mixed, mixed\>\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported 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/RoleController.php#L74
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/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$refusals\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: application/forms/Security/RoleForm.php#L329
Ignored error pattern #^Access to an undefined property object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Cannot access offset 0 on array\<mixed, mixed\>\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.
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/RoleController.php#L74
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/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$refusals\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: application/forms/Security/RoleForm.php#L329
Ignored error pattern #^Access to an undefined property object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Cannot access offset 0 on array\<mixed, mixed\>\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.
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/RoleController.php#L74
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/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$refusals\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: application/forms/Security/RoleForm.php#L329
Ignored error pattern #^Access to an undefined property object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.0 on ubuntu-latest: library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Cannot access offset 0 on array\<mixed, mixed\>\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.
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/RoleController.php#L74
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/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$refusals\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/forms/Security/RoleForm.php#L329
Ignored error pattern #^Access to an undefined property object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Cannot access offset 0 on array\<mixed, mixed\>\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.
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/RoleController.php#L74
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/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/forms/Security/RoleForm.php#L1
Ignored error pattern #^Access to an undefined property object\|object\:\:\$refusals\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: application/forms/Security/RoleForm.php#L329
Ignored error pattern #^Access to an undefined property object\:\:\$permissions\.$# in path /home/runner/work/icingaweb2/icingaweb2/application/forms/Security/RoleForm.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: library/Icinga/File/Storage/LocalFileStorage.php#L1
Ignored error pattern #^Cannot access offset 0 on array\<mixed, mixed\>\|false\.$# in path /home/runner/work/icingaweb2/icingaweb2/library/Icinga/File/Storage/LocalFileStorage.php was not matched in reported errors.