chore: make Forms OpenAPI compliant #2017
psalm.yml
on: pull_request
static-psalm-analysis
28s
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)
|
InvalidDocblock:
lib/Controller/ApiController.php#L132
lib/Controller/ApiController.php:132:2: InvalidDocblock: Cannot parse generic type in docblock for OCA\Forms\Controller\ApiController::getForms (see https://psalm.dev/008)
|
UndefinedClass:
lib/Controller/ApiController.php#L155
lib/Controller/ApiController.php:155:36: UndefinedClass: Class, interface or enum named OCA\Forms\Controller\Http does not exist (see https://psalm.dev/019)
|
InvalidDocblock:
lib/Controller/ApiController.php#L166
lib/Controller/ApiController.php:166:2: InvalidDocblock: Cannot parse generic type in docblock for OCA\Forms\Controller\ApiController::newForm (see https://psalm.dev/008)
|
UndefinedClass:
lib/Controller/ApiController.php#L236
lib/Controller/ApiController.php:236:64: UndefinedClass: Class, interface or enum named OCA\Forms\Controller\Http does not exist (see https://psalm.dev/019)
|
InvalidDocblock:
lib/Controller/ApiController.php#L247
lib/Controller/ApiController.php:247:2: InvalidDocblock: Cannot parse generic type in docblock for OCA\Forms\Controller\ApiController::getForm (see https://psalm.dev/008)
|
InvalidDocblock:
lib/Controller/ApiController.php#L284
lib/Controller/ApiController.php:284:2: InvalidDocblock: Cannot parse generic type in docblock for OCA\Forms\Controller\ApiController::updateForm (see https://psalm.dev/008)
|
RedundantCondition:
lib/Controller/ApiController.php#L348
lib/Controller/ApiController.php:348:7: RedundantCondition: $keyValuePairs['fileId'] is not isset has already been asserted (see https://psalm.dev/122)
|
InvalidDocblock:
lib/Controller/ApiController.php#L377
lib/Controller/ApiController.php:377:2: InvalidDocblock: Cannot parse generic type in docblock for OCA\Forms\Controller\ApiController::deleteForm (see https://psalm.dev/008)
|