Skip to content

feature: mail provider backend #4374

feature: mail provider backend

feature: mail provider backend #4374

Triggered via pull request September 5, 2024 17:20
Status Failure
Total duration 54m 30s
Artifacts

psalm-matrix.yml

on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
0s
static-psalm-analysis-summary
Fit to window
Zoom out
Zoom in

Annotations

8 errors
PossiblyNullArgument: lib/Provider/Command/MessageSend.php#L76
lib/Provider/Command/MessageSend.php:76:29: PossiblyNullArgument: Argument 1 of setSubject cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: lib/Provider/Command/MessageSend.php#L91
lib/Provider/Command/MessageSend.php:91:7: PossiblyNullArgument: Argument 2 of OCA\Mail\Service\Attachment\AttachmentService::addFileFromString cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: lib/Provider/Command/MessageSend.php#L92
lib/Provider/Command/MessageSend.php:92:7: PossiblyNullArgument: Argument 3 of OCA\Mail\Service\Attachment\AttachmentService::addFileFromString cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: lib/Provider/Command/MessageSend.php#L93
lib/Provider/Command/MessageSend.php:93:7: PossiblyNullArgument: Argument 4 of OCA\Mail\Service\Attachment\AttachmentService::addFileFromString cannot be null, possibly null value provided (see https://psalm.dev/078)
MoreSpecificReturnType: lib/Provider/Command/MessageSend.php#L134
lib/Provider/Command/MessageSend.php:134:13: MoreSpecificReturnType: The declared return type 'array<int, array{email?: string, label?: string}>' for OCA\Mail\Provider\Command\MessageSend::convertAddressArray is more specific than the inferred return type 'array<int, array{email: null|string, label?: null|string}>' (see https://psalm.dev/070)
LessSpecificReturnStatement: lib/Provider/Command/MessageSend.php#L137
lib/Provider/Command/MessageSend.php:137:10: LessSpecificReturnStatement: The type 'array<int, array{email: null|string, label?: null|string}>' is more general than the declared return type 'array<int, array{email?: string, label?: string}>' for OCA\Mail\Provider\Command\MessageSend::convertAddressArray (see https://psalm.dev/129)
static-psalm-analysis dev-master
Process completed with exit code 2.
static-psalm-analysis-summary
Process completed with exit code 1.