Skip to content

fix: rename circles to teams #18261

fix: rename circles to teams

fix: rename circles to teams #18261

Triggered via pull request February 29, 2024 19:22
Status Failure
Total duration 6m 30s
Artifacts

psalm.yml

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

Annotations

3 errors
InvalidReturnType: lib/Federation/Proxy/TalkV1/UserConverter.php#L103
lib/Federation/Proxy/TalkV1/UserConverter.php:103:13: InvalidReturnType: The declared return type 'array{actorDisplayName: string, actorId: string, actorType: string, deleted?: true, expirationTimestamp: int, id: int, isReplyable: bool, lastEditActorDisplayName?: string, lastEditActorId?: string, lastEditActorType?: string, lastEditTimestamp?: int, markdown: bool, message: string, messageParameters: array<string, array<string, mixed>>, messageType: string, parent?: array{actorDisplayName: string, actorId: string, actorType: string, deleted?: true, expirationTimestamp: int, id: int, isReplyable: bool, lastEditActorDisplayName?: string, lastEditActorId?: string, lastEditActorType?: string, lastEditTimestamp?: int, markdown: bool, message: string, messageParameters: array<string, array<string, mixed>>, messageType: string, reactions: array<string, int>|stdClass, referenceId: string, silent?: bool, systemMessage: string, timestamp: int, token: string}, reactions: array<string, int>|stdClass, referenceId: string, silent?: bool, systemMessage: string, timestamp: int, token: string}' for OCA\Talk\Federation\Proxy\TalkV1\UserConverter::convertMessage is incorrect, got 'array{parent?: array{actorDisplayName: string, actorId: string, actorType: string, deleted?: true, expirationTimestamp: int, id: int, isReplyable: bool, lastEditActorDisplayName?: string, lastEditActorId?: string, lastEditActorType?: string, lastEditTimestamp?: int, markdown: bool, message: string, messageParameters: array<string, array<string, mixed>>, messageType: string, parent?: array{actorDisplayName: string, actorId: string, actorType: string, deleted?: true, expirationTimestamp: int, id: int, isReplyable: bool, lastEditActorDisplayName?: string, lastEditActorId?: string, lastEditActorType?: string, lastEditTimestamp?: int, markdown: bool, message: string, messageParameters: array<string, array<string, mixed>>, messageType: string, reactions: array<string, int>|stdClass, referenceId: string, silent?: bool, systemMessage: string, timestamp: int, token: string}, reactions: array<string, int>|stdClass, referenceId: string, silent?: bool, systemMessage: string, timestamp: int, token: string}|mixed, token: string, ...<array-key, mixed>}' (see https://psalm.dev/011)
InvalidReturnStatement: lib/Federation/Proxy/TalkV1/UserConverter.php#L114
lib/Federation/Proxy/TalkV1/UserConverter.php:114:10: InvalidReturnStatement: The inferred type 'array{parent?: array{actorDisplayName: string, actorId: string, actorType: string, deleted?: true, expirationTimestamp: int, id: int, isReplyable: bool, lastEditActorDisplayName?: string, lastEditActorId?: string, lastEditActorType?: string, lastEditTimestamp?: int, markdown: bool, message: string, messageParameters: array<string, array<string, mixed>>, messageType: string, parent?: array{actorDisplayName: string, actorId: string, actorType: string, deleted?: true, expirationTimestamp: int, id: int, isReplyable: bool, lastEditActorDisplayName?: string, lastEditActorId?: string, lastEditActorType?: string, lastEditTimestamp?: int, markdown: bool, message: string, messageParameters: array<string, array<string, mixed>>, messageType: string, reactions: array<string, int>|stdClass, referenceId: string, silent?: bool, systemMessage: string, timestamp: int, token: string}, reactions: array<string, int>|stdClass, referenceId: string, silent?: bool, systemMessage: string, timestamp: int, token: string}|mixed, token: string, ...<array-key, mixed>}' does not match the declared return type 'array{actorDisplayName: string, actorId: string, actorType: string, deleted?: true, expirationTimestamp: int, id: int, isReplyable: bool, lastEditActorDisplayName?: string, lastEditActorId?: string, lastEditActorType?: string, lastEditTimestamp?: int, markdown: bool, message: string, messageParameters: array<string, array<string, mixed>>, messageType: string, parent?: array{actorDisplayName: string, actorId: string, actorType: string, deleted?: true, expirationTimestamp: int, id: int, isReplyable: bool, lastEditActorDisplayName?: string, lastEditActorId?: string, lastEditActorType?: string, lastEditTimestamp?: int, markdown: bool, message: string, messageParameters: array<string, array<string, mixed>>, messageType: string, reactions: array<string, int>|stdClass, referenceId: string, silent?: bool, systemMessage: string, timestamp: int, token: string}, reactions: array<string, int>|stdClass, referenceId: string, silent?: bool, systemMessage: string, timestamp: int, token: string}' for OCA\Talk\Federation\Proxy\TalkV1\UserConverter::convertMessage (see https://psalm.dev/128)
static-psalm-analysis
Process completed with exit code 2.