feature: mail provider backend #4374
Annotations
7 errors
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
|
This job failed
Loading