ExApp occ commands API #1040
lint.yml
on: pull_request
Matrix: php-cs
Matrix: php-lint
Matrix: php-psalm-analysis
info.xml lint
10s
security analysis
18s
eslint
33s
stylelint
24s
Lint-OK
0s
Annotations
10 errors and 8 warnings
UndefinedClass:
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)
|
InvalidReturnType:
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)
|
InvalidReturnStatement:
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)
|
UndefinedClass:
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)
|
UndefinedClass:
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)
|
UndefinedClass:
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)
|
UndefinedClass:
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)
|
InvalidMethodCall:
lib/Service/ExAppOccService.php#L201
lib/Service/ExAppOccService.php:201:19: InvalidMethodCall: Cannot call method on string variable $body (see https://psalm.dev/091)
|
InvalidMethodCall:
lib/Service/ExAppOccService.php#L202
lib/Service/ExAppOccService.php:202:28: InvalidMethodCall: Cannot call method on string variable $body (see https://psalm.dev/091)
|
php-psalm-analysis (8.1)
Process completed with exit code 2.
|
info.xml lint
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/.
|
php-cs (8.1)
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/.
|
php-lint (8.1)
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/.
|
security analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
security analysis
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
php-psalm-analysis (8.1)
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/.
|
stylelint
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/.
|
eslint
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/.
|