Skip to content

feat(federation): Implement reactions #18388

feat(federation): Implement reactions

feat(federation): Implement reactions #18388

Triggered via pull request March 11, 2024 15:57
Status Cancelled
Total duration 10m 54s
Artifacts

psalm.yml

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

Annotations

4 errors
static-psalm-analysis
Canceling since a higher priority waiting request for 'psalm-feat/11272/reactions' exists
InvalidReturnType: lib/Federation/Proxy/TalkV1/Controller/ReactionController.php#L134
lib/Federation/Proxy/TalkV1/Controller/ReactionController.php:134:13: InvalidReturnType: The declared return type 'OCP\AppFramework\Http\DataResponse<200, array<string, array<array-key, array{actorDisplayName: string, actorId: string, actorType: string, timestamp: int}>>|stdClass, array<never, never>>|OCP\AppFramework\Http\DataResponse<404, array<array-key, never>, array<never, never>>' for OCA\Talk\Federation\Proxy\TalkV1\Controller\ReactionController::getReactions is incorrect, got 'OCP\AppFramework\Http\DataResponse<200, array<string, array<array-key, array{actorDisplayName: string, actorId: string, actorType: string, timestamp: int}>>|stdClass, array<never, never>>|OCP\AppFramework\Http\DataResponse<400|404, array<never, never>, array<never, never>>' (see https://psalm.dev/011)
InvalidReturnStatement: lib/Federation/Proxy/TalkV1/Controller/ReactionController.php#L154
lib/Federation/Proxy/TalkV1/Controller/ReactionController.php:154:11: InvalidReturnStatement: The inferred type 'OCP\AppFramework\Http\DataResponse<400|404, array<never, never>, array<never, never>>' does not match the declared return type 'OCP\AppFramework\Http\DataResponse<200, array<string, array<array-key, array{actorDisplayName: string, actorId: string, actorType: string, timestamp: int}>>|stdClass, array<never, never>>|OCP\AppFramework\Http\DataResponse<404, array<array-key, never>, array<never, never>>' for OCA\Talk\Federation\Proxy\TalkV1\Controller\ReactionController::getReactions (see https://psalm.dev/128)
static-psalm-analysis
Process completed with exit code 2.