Skip to content

Refactor Keys API to use typed query and result objects #2783

Refactor Keys API to use typed query and result objects

Refactor Keys API to use typed query and result objects #2783

Triggered via pull request April 7, 2026 06:50
Status Failure
Total duration 1m 26s
Artifacts 4

tests.yml

on: pull_request
Matrix: tests
Yaml linting check
6s
Yaml linting check
linter-check
18s
linter-check
phpstan-tests
19s
phpstan-tests
Upload coverage to Codecov
0s
Upload coverage to Codecov
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 7 warnings
phpstan-tests
Process completed with exit code 1.
phpstan-tests: tests/Endpoints/KeysAndPermissionsTest.php#L192
Call to static method PHPUnit\Framework\Assert::assertArrayHasKey() with 'results' and array{results: array<int, array{uid: non-empty-string, key: non-empty-string, actions: list<non-empty-string>, indexes: list<non-empty-string>, name?: non-empty-string, description?: non-empty-string, expiresAt?: non-empty-string, createdAt: non-empty-string, ...}>, offset: int<0, max>, limit: int<0, max>, total: int<0, max>} will always evaluate to true.
phpstan-tests: tests/Endpoints/KeysAndPermissionsTest.php#L191
Call to static method PHPUnit\Framework\Assert::assertArrayHasKey() with 'total' and array{results: array<int, array{uid: non-empty-string, key: non-empty-string, actions: list<non-empty-string>, indexes: list<non-empty-string>, name?: non-empty-string, description?: non-empty-string, expiresAt?: non-empty-string, createdAt: non-empty-string, ...}>, offset: int<0, max>, limit: int<0, max>, total: int<0, max>} will always evaluate to true.
phpstan-tests: tests/Endpoints/KeysAndPermissionsTest.php#L190
Call to static method PHPUnit\Framework\Assert::assertArrayHasKey() with 'limit' and array{results: array<int, array{uid: non-empty-string, key: non-empty-string, actions: list<non-empty-string>, indexes: list<non-empty-string>, name?: non-empty-string, description?: non-empty-string, expiresAt?: non-empty-string, createdAt: non-empty-string, ...}>, offset: int<0, max>, limit: int<0, max>, total: int<0, max>} will always evaluate to true.
phpstan-tests: tests/Endpoints/KeysAndPermissionsTest.php#L189
Call to static method PHPUnit\Framework\Assert::assertArrayHasKey() with 'offset' and array{results: array<int, array{uid: non-empty-string, key: non-empty-string, actions: list<non-empty-string>, indexes: list<non-empty-string>, name?: non-empty-string, description?: non-empty-string, expiresAt?: non-empty-string, createdAt: non-empty-string, ...}>, offset: int<0, max>, limit: int<0, max>, total: int<0, max>} will always evaluate to true.
integration-tests (PHP 8.4)
Process completed with exit code 2.
phpstan-tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
linter-check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
integration-tests (PHP 8.3)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
integration-tests (PHP 8.5)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
integration-tests (PHP 8.1)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
integration-tests (PHP 8.2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
integration-tests (PHP 8.4)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
phpunit-8.1-coverage
13.8 KB
sha256:756e7452c2f7efee7d7e533ad85e01678b5627aeb874e9c0ee452c3f73859d2d
phpunit-8.2-coverage
13.8 KB
sha256:ace8b67be33dbd847abb8e14e41375acb5a55a2ab581d53d8009fb96b17e5ee7
phpunit-8.3-coverage
13.8 KB
sha256:6bccb4cc84faa41fc42f8939680e6a72ebad9a922568ba068bc28353677c5a96
phpunit-8.5-coverage
13.8 KB
sha256:081ef13b22ebf4a5471ce88329388caee9263b28fed8daf911d7d0b89900af50