Skip to content

feat: policy signature flow #10049

feat: policy signature flow

feat: policy signature flow #10049

Triggered via pull request May 3, 2026 15:57
Status Failure
Total duration 1m 8s
Artifacts

psalm.yml

on: pull_request
static-psalm-analysis
1m 4s
static-psalm-analysis
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
static-psalm-analysis
Process completed with exit code 2.
LessSpecificReturnStatement: lib/Controller/PolicyController.php#L118
lib/Controller/PolicyController.php:118:10: LessSpecificReturnStatement: The type 'OCP\AppFramework\Http\DataResponse<200, array{policy: array{allowChildOverride: bool, allowedValues: list<null|scalar>, policyKey: string, scope: 'global'|'system', value: array<array-key, mixed>|null|scalar, visibleToChild: bool}}, array<never, never>>' is more general than the declared return type 'OCP\AppFramework\Http\DataResponse<200, array{policy: array{allowChildOverride: bool, allowedValues: list<null|scalar>, policyKey: string, scope: 'global'|'system', value: null|scalar, visibleToChild: bool}}, array<never, never>>' for OCA\Libresign\Controller\PolicyController::getSystem (see https://psalm.dev/129)
MoreSpecificReturnType: lib/Controller/PolicyController.php#L91
lib/Controller/PolicyController.php:91:13: MoreSpecificReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200, array{policy: array{allowChildOverride: bool, allowedValues: list<null|scalar>, policyKey: string, scope: 'global'|'system', value: null|scalar, visibleToChild: bool}}, array<never, never>>' for OCA\Libresign\Controller\PolicyController::getSystem is more specific than the inferred return type 'OCP\AppFramework\Http\DataResponse<200, array{policy: array{allowChildOverride: bool, allowedValues: list<null|scalar>, policyKey: string, scope: 'global'|'system', value: array<array-key, mixed>|null|scalar, visibleToChild: bool}}, array<never, never>>' (see https://psalm.dev/070)
static-psalm-analysis
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba. 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/