Skip to content

feat: implement openapi #21

feat: implement openapi

feat: implement openapi #21

Triggered via pull request September 3, 2025 21:05
Status Failure
Total duration 34s
Artifacts

psalm.yml

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

Annotations

4 errors
static-psalm-analysis
Process completed with exit code 2.
LessSpecificReturnStatement: lib/Controller/ExtractionController.php#L254
lib/Controller/ExtractionController.php:254:10: LessSpecificReturnStatement: The type 'OCP\AppFramework\Http\DataResponse<200, array{code: 0|1|bool, desc?: mixed, extracted: array{'mount-type': string, 'owner-display-name': null|string, fileId: int, mtime: int, owner: null|string, permissions: int, root: non-falsy-string, source: non-falsy-string}}, array<never, never>>' is more general than the declared return type 'OCP\AppFramework\Http\DataResponse<200|404, array{code?: int, desc?: string, extracted?: array{'mount-type': string, 'owner-display-name': string, fileId: string, mtime: string, owner: string, permissions: string, root: string, source: string}}, array<never, never>>' for OCA\Extract\Controller\ExtractionController::execute (see https://psalm.dev/129)
MoreSpecificReturnType: lib/Controller/ExtractionController.php#L138
lib/Controller/ExtractionController.php:138:13: MoreSpecificReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200|404, array{code?: int, desc?: string, extracted?: array{'mount-type': string, 'owner-display-name': string, fileId: string, mtime: string, owner: string, permissions: string, root: string, source: string}}, array<never, never>>' for OCA\Extract\Controller\ExtractionController::execute is more specific than the inferred return type 'OCP\AppFramework\Http\DataResponse<200|404, array{code?: 0|1|bool, desc?: mixed|string, extracted?: array{'mount-type': string, 'owner-display-name': null|string, fileId: int, mtime: int, owner: null|string, permissions: int, root: non-falsy-string, source: non-falsy-string}}, array<never, never>>' (see https://psalm.dev/070)
MissingOverrideAttribute: lib/Capabilities.php#L38
lib/Capabilities.php:38:2: MissingOverrideAttribute: Method OCA\Extract\Capabilities::getcapabilities should have the "Override" attribute (see https://psalm.dev/358)