Skip to content

LdapConnection: Access array key only if its set #3280

LdapConnection: Access array key only if its set

LdapConnection: Access array key only if its set #3280

Triggered via pull request April 3, 2024 10:38
Status Failure
Total duration 2m 45s
Artifacts

php.yml

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

Annotations

70 errors and 14 warnings
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for php 8.3 on ubuntu-latest: application/forms/Security/RoleForm.php#L333
Access to an undefined property object::$permissions.
Static analysis for php 8.3 on ubuntu-latest: application/forms/Security/RoleForm.php#L334
Access to an undefined property object::$refusals.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for php 7.4 on ubuntu-latest: application/forms/Security/RoleForm.php#L333
Access to an undefined property object::$permissions.
Static analysis for php 7.4 on ubuntu-latest: application/forms/Security/RoleForm.php#L334
Access to an undefined property object::$refusals.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for php 7.2 on ubuntu-latest: application/forms/Security/RoleForm.php#L333
Access to an undefined property object::$permissions.
Static analysis for php 7.2 on ubuntu-latest: application/forms/Security/RoleForm.php#L334
Access to an undefined property object::$refusals.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for php 8.1 on ubuntu-latest: application/forms/Security/RoleForm.php#L333
Access to an undefined property object::$permissions.
Static analysis for php 8.1 on ubuntu-latest: application/forms/Security/RoleForm.php#L334
Access to an undefined property object::$refusals.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for php 8.2 on ubuntu-latest: application/forms/Security/RoleForm.php#L333
Access to an undefined property object::$permissions.
Static analysis for php 8.2 on ubuntu-latest: application/forms/Security/RoleForm.php#L334
Access to an undefined property object::$refusals.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for php 8.0 on ubuntu-latest: application/forms/Security/RoleForm.php#L333
Access to an undefined property object::$permissions.
Static analysis for php 8.0 on ubuntu-latest: application/forms/Security/RoleForm.php#L334
Access to an undefined property object::$refusals.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for 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.
Static analysis for php 7.3 on ubuntu-latest: application/forms/Security/RoleForm.php#L333
Access to an undefined property object::$permissions.
Static analysis for php 7.3 on ubuntu-latest: application/forms/Security/RoleForm.php#L334
Access to an undefined property object::$refusals.
Static analysis for 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.
Unit tests with php 8.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 7.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 8.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 8.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 8.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests with php 7.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 8.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis for php 7.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.