Skip to content

feat: envelope support #7744

feat: envelope support

feat: envelope support #7744

Triggered via pull request December 19, 2025 17:57
Status Failure
Total duration 52s
Artifacts

psalm.yml

on: pull_request
static-psalm-analysis
49s
static-psalm-analysis
Fit to window
Zoom out
Zoom in

Annotations

3 errors
static-psalm-analysis
Process completed with exit code 2.
InvalidReturnStatement: lib/Controller/FileController.php#L475
lib/Controller/FileController.php:475:10: InvalidReturnStatement: The inferred type 'OCP\AppFramework\Http\DataResponse<200, array{created_at: string, files: list{mixed}, id: int, message: string, name: string, nodeType: string, status: int, statusText: string, uuid: string}, array<never, never>>' does not match the declared return type 'OCP\AppFramework\Http\DataResponse<200, array{created_at: string, id: int, message: string, name: string, status: int, statusText: string}, array<never, never>>' for OCA\Libresign\Controller\FileController::saveSingleFile (see https://psalm.dev/128)
InvalidReturnType: lib/Controller/FileController.php#L440
lib/Controller/FileController.php:440:13: InvalidReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200, array{created_at: string, id: int, message: string, name: string, status: int, statusText: string}, array<never, never>>' for OCA\Libresign\Controller\FileController::saveSingleFile is incorrect, got 'OCP\AppFramework\Http\DataResponse<200, array{created_at: string, files: list{mixed}, id: int, message: string, name: string, nodeType: string, status: int, statusText: string, uuid: string}, array<never, never>>' (see https://psalm.dev/011)