Fix: make summary service appId for the task specific so the tasks don't show up in task lists #660
psalm.yml
on: pull_request
matrix
13s
Matrix: static-analysis
static-psalm-analysis-summary
6s
Annotations
4 errors
|
static-psalm-analysis dev-stable33
Process completed with exit code 2.
|
|
InvalidReturnStatement:
lib/Controller/AssistantApiController.php#L409
lib/Controller/AssistantApiController.php:409:11: InvalidReturnStatement: The inferred type 'OCP\AppFramework\Http\DataDownloadResponse<200, non-falsy-string, array<never, never>>' does not match the declared return type 'OCP\AppFramework\Http\DataDownloadResponse<200, string, array<never, never>>|OCP\AppFramework\Http\DataResponse<404, '', array<never, never>>' for OCA\Assistant\Controller\AssistantApiController::getOutputFile (see https://psalm.dev/128)
|
|
InvalidReturnType:
lib/Controller/AssistantApiController.php#L392
lib/Controller/AssistantApiController.php:392:13: InvalidReturnType: The declared return type 'OCP\AppFramework\Http\DataDownloadResponse<200, string, array<never, never>>|OCP\AppFramework\Http\DataResponse<404, '', array<never, never>>' for OCA\Assistant\Controller\AssistantApiController::getOutputFile is incorrect, got 'OCP\AppFramework\Http\DataDownloadResponse<200, non-falsy-string, array<never, never>>|OCP\AppFramework\Http\DataResponse<404, '', array<never, never>>' (see https://psalm.dev/011)
|
|
static-psalm-analysis-summary
Process completed with exit code 1.
|