Skip to content

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

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

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

Triggered via pull request December 16, 2024 22:51
Status Failure
Total duration 1m 44s
Artifacts

psalm-matrix.yml

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

Annotations

6 errors and 1 warning
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 105 (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 dev-master
Process completed with exit code 2.
static-psalm-analysis-summary
Process completed with exit code 1.
static-psalm-analysis dev-master
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636