Skip to content

fix: add ability to send alternet text (html and plain) #4980

fix: add ability to send alternet text (html and plain)

fix: add ability to send alternet text (html and plain) #4980

Triggered via pull request December 11, 2024 02:27
Status Failure
Total duration 1m 23s
Artifacts

psalm-matrix.yml

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

Annotations

11 errors
UndefinedMagicMethod: lib/Controller/MessageApiController.php#L154
lib/Controller/MessageApiController.php:154:13: UndefinedMagicMethod: Magic method OCA\Mail\Db\LocalMessage::setbody does not exist (see https://psalm.dev/219)
TooFewArguments: lib/Service/AntiSpamService.php#L160
lib/Service/AntiSpamService.php:160:29: TooFewArguments: Too few arguments for OCA\Mail\Service\MimeMessage::build - expecting isPgpEncrypted to be passed (see https://psalm.dev/025)
TooFewArguments: lib/Service/AntiSpamService.php#L160
lib/Service/AntiSpamService.php:160:29: TooFewArguments: Too few arguments for method OCA\Mail\Service\MimeMessage::build saw 3 (see https://psalm.dev/025)
InvalidArgument: lib/Service/AntiSpamService.php#L161
lib/Service/AntiSpamService.php:161:4: InvalidArgument: Argument 1 of OCA\Mail\Service\MimeMessage::build expects null|string, but true provided (see https://psalm.dev/004)
UndefinedMagicMethod: lib/Service/MailTransmission.php#L186
lib/Service/MailTransmission.php:186:38: UndefinedMagicMethod: Magic method OCA\Mail\Db\LocalMessage::getbody does not exist (see https://psalm.dev/219)
PossiblyNullArgument: lib/Service/MimeMessage.php#L38
lib/Service/MimeMessage.php:38:36: PossiblyNullArgument: Argument 1 of OCA\Mail\Service\MimeMessage::buildPgpPart cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyUndefinedVariable: lib/Service/MimeMessage.php#L122
lib/Service/MimeMessage.php:122:21: PossiblyUndefinedVariable: Possibly undefined variable $htmlPart, first seen on line 104 (see https://psalm.dev/018)
PossiblyUndefinedVariable: lib/Service/MimeMessage.php#L129
lib/Service/MimeMessage.php:129:13: PossiblyUndefinedVariable: Possibly undefined variable $embeddedParts, first seen on line 66 (see https://psalm.dev/018)
PossiblyUndefinedVariable: lib/Service/MimeMessage.php#L132
lib/Service/MimeMessage.php:132:18: PossiblyUndefinedVariable: Possibly undefined variable $messagePart, first seen on line 119 (see https://psalm.dev/018)
PossiblyUndefinedVariable: lib/Service/MimeMessage.php#L138
lib/Service/MimeMessage.php:138:16: PossiblyUndefinedVariable: Possibly undefined variable $messagePart, first seen on line 119 (see https://psalm.dev/018)
static-psalm-analysis-summary
Process completed with exit code 1.