Skip to content

chore: make Forms OpenAPI compliant #2063

chore: make Forms OpenAPI compliant

chore: make Forms OpenAPI compliant #2063

Triggered via pull request October 27, 2024 20:14
Status Failure
Total duration 1m 12s
Artifacts

psalm.yml

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

Annotations

10 errors
InvalidTypeImport: lib/Controller/ApiController.php#L78
lib/Controller/ApiController.php:78:23: InvalidTypeImport: Type alias FormsPartialForm imported from OCA\Forms\ResponseDefinitions is not defined on the source class (see https://psalm.dev/233)
InvalidTypeImport: lib/Controller/ApiController.php#L79
lib/Controller/ApiController.php:79:23: InvalidTypeImport: Type alias FormsForm imported from OCA\Forms\ResponseDefinitions is not defined on the source class (see https://psalm.dev/233)
InvalidTypeImport: lib/Controller/ApiController.php#L80
lib/Controller/ApiController.php:80:23: InvalidTypeImport: Type alias FormsQuestion imported from OCA\Forms\ResponseDefinitions is not defined on the source class (see https://psalm.dev/233)
InvalidTypeImport: lib/Controller/ApiController.php#L81
lib/Controller/ApiController.php:81:23: InvalidTypeImport: Type alias FormsOption imported from OCA\Forms\ResponseDefinitions is not defined on the source class (see https://psalm.dev/233)
InvalidTypeImport: lib/Controller/ApiController.php#L82
lib/Controller/ApiController.php:82:23: InvalidTypeImport: Type alias FormsSubmissions imported from OCA\Forms\ResponseDefinitions is not defined on the source class (see https://psalm.dev/233)
InvalidTypeImport: lib/Controller/ApiController.php#L83
lib/Controller/ApiController.php:83:23: InvalidTypeImport: Type alias FormsUploadedFile imported from OCA\Forms\ResponseDefinitions is not defined on the source class (see https://psalm.dev/233)
InvalidDocblock: lib/Controller/ApiController.php#L133
lib/Controller/ApiController.php:133:2: InvalidDocblock: Cannot parse generic type in docblock for OCA\Forms\Controller\ApiController::getForms (see https://psalm.dev/008)
InvalidDocblock: lib/Controller/ApiController.php#L162
lib/Controller/ApiController.php:162:2: InvalidDocblock: Cannot parse generic type in docblock for OCA\Forms\Controller\ApiController::newForm (see https://psalm.dev/008)
InvalidDocblock: lib/Controller/ApiController.php#L238
lib/Controller/ApiController.php:238:2: InvalidDocblock: Cannot parse generic type in docblock for OCA\Forms\Controller\ApiController::getForm (see https://psalm.dev/008)
InvalidDocblock: lib/Controller/ApiController.php#L269
lib/Controller/ApiController.php:269:2: InvalidDocblock: Cannot parse generic type in docblock for OCA\Forms\Controller\ApiController::updateForm (see https://psalm.dev/008)