Skip to content

perf: reduce number of avatar requests #5011

perf: reduce number of avatar requests

perf: reduce number of avatar requests #5011

Triggered via pull request December 13, 2024 10:05
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

5 errors
PossiblyNullArgument: lib/IMAP/PreviewEnhancer.php#L69
lib/IMAP/PreviewEnhancer.php:69:48: PossiblyNullArgument: Argument 1 of OCA\Mail\Service\AvatarService::getAvatar cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: lib/IMAP/PreviewEnhancer.php#L118
lib/IMAP/PreviewEnhancer.php:118:47: PossiblyNullArgument: Argument 1 of OCA\Mail\Service\AvatarService::getAvatar cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullReference: lib/IMAP/PreviewEnhancer.php#L118
lib/IMAP/PreviewEnhancer.php:118:77: PossiblyNullReference: Cannot call method getEmail on possibly null value (see https://psalm.dev/083)
static-psalm-analysis dev-master
Process completed with exit code 2.
static-psalm-analysis-summary
Process completed with exit code 1.