Skip to content

feat: filter messages by mention #4626

feat: filter messages by mention

feat: filter messages by mention #4626

Triggered via pull request October 10, 2024 14:20
Status Failure
Total duration 3m 35s
Artifacts

psalm-matrix.yml

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

Annotations

7 errors
PossiblyNullArgument: lib/IMAP/ImapMessageFetcher.php#L241
lib/IMAP/ImapMessageFetcher.php:241:39: PossiblyNullArgument: Argument 1 of OCA\Mail\IMAP\ImapMessageFetcher::checkMention cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullReference: lib/IMAP/ImapMessageFetcher.php#L241
lib/IMAP/ImapMessageFetcher.php:241:87: PossiblyNullReference: Cannot call method getEmail on possibly null value (see https://psalm.dev/083)
ArgumentTypeCoercion: lib/IMAP/MessageMapper.php#L974
lib/IMAP/MessageMapper.php:974:18: ArgumentTypeCoercion: Argument 1 of DOMDocument::loadHTML expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
PossiblyNullPropertyAssignmentValue: lib/IMAP/MessageStructureData.php#L34
lib/IMAP/MessageStructureData.php:34:23: PossiblyNullPropertyAssignmentValue: $this->mentionsMe with non-nullable declared type 'bool' cannot be assigned nullable type 'bool|null' (see https://psalm.dev/148)
ArgumentTypeCoercion: lib/Service/Html.php#L199
lib/Service/Html.php:199:18: ArgumentTypeCoercion: Argument 1 of DOMDocument::loadHTML expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
static-psalm-analysis dev-master
Process completed with exit code 2.
static-psalm-analysis-summary
Process completed with exit code 1.