ExApp occ commands API #1040
Annotations
10 errors and 1 warning
Run coding standards check:
lib/PublicFunctions.php#L70
lib/PublicFunctions.php:70:6: UndefinedClass: Class, interface or enum named Psr\Http\Message\ResponseInterface does not exist (see https://psalm.dev/019)
|
Run coding standards check:
lib/Service/AppAPIService.php#L91
lib/Service/AppAPIService.php:91:5: InvalidReturnType: The declared return type 'OCP\Http\Client\IResponse|array<array-key, mixed>' for OCA\AppAPI\Service\AppAPIService::requestToExApp is incorrect, got 'OCP\Http\Client\IResponse|Psr\Http\Message\ResponseInterface|array<array-key, mixed>' (see https://psalm.dev/011)
|
Run coding standards check:
lib/Service/AppAPIService.php#L93
lib/Service/AppAPIService.php:93:10: InvalidReturnStatement: The inferred type 'OCP\Http\Client\IResponse|Psr\Http\Message\ResponseInterface|array<array-key, mixed>' does not match the declared return type 'OCP\Http\Client\IResponse|array<array-key, mixed>' for OCA\AppAPI\Service\AppAPIService::requestToExApp (see https://psalm.dev/128)
|
Run coding standards check:
lib/Service/AppAPIService.php#L103
lib/Service/AppAPIService.php:103:5: UndefinedClass: Class, interface or enum named Psr\Http\Message\ResponseInterface does not exist (see https://psalm.dev/019)
|
Run coding standards check:
lib/Service/AppAPIService.php#L178
lib/Service/AppAPIService.php:178:5: UndefinedClass: Class, interface or enum named Psr\Http\Message\ResponseInterface does not exist (see https://psalm.dev/019)
|
Run coding standards check:
lib/Service/ExAppOccService.php#L192
lib/Service/ExAppOccService.php:192:9: UndefinedClass: Class, interface or enum named Psr\Http\Message\ResponseInterface does not exist (see https://psalm.dev/019)
|
Run coding standards check:
lib/Service/ExAppOccService.php#L200
lib/Service/ExAppOccService.php:200:13: UndefinedClass: Class, interface or enum named Psr\Http\Message\ResponseInterface does not exist (see https://psalm.dev/019)
|
Run coding standards check:
lib/Service/ExAppOccService.php#L201
lib/Service/ExAppOccService.php:201:19: InvalidMethodCall: Cannot call method on string variable $body (see https://psalm.dev/091)
|
Run coding standards check:
lib/Service/ExAppOccService.php#L202
lib/Service/ExAppOccService.php:202:28: InvalidMethodCall: Cannot call method on string variable $body (see https://psalm.dev/091)
|
Run coding standards check
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading