Skip to content

perf: reduce number of avatar requests #4992

perf: reduce number of avatar requests

perf: reduce number of avatar requests #4992

Triggered via pull request December 12, 2024 14:31
Status Failure
Total duration 1m 28s
Artifacts

psalm-matrix.yml

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

Annotations

8 errors
PossiblyNullArgument: lib/IMAP/PreviewEnhancer.php#L68
lib/IMAP/PreviewEnhancer.php:68:48: 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#L68
lib/IMAP/PreviewEnhancer.php:68:78: PossiblyNullReference: Cannot call method getEmail on possibly null value (see https://psalm.dev/083)
PossiblyNullArgument: lib/IMAP/PreviewEnhancer.php#L68
lib/IMAP/PreviewEnhancer.php:68:90: PossiblyNullArgument: Argument 2 of OCA\Mail\Service\AvatarService::getAvatar cannot be null, possibly null value provided (see https://psalm.dev/078)
PossiblyNullArgument: lib/IMAP/PreviewEnhancer.php#L116
lib/IMAP/PreviewEnhancer.php:116: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#L116
lib/IMAP/PreviewEnhancer.php:116:77: PossiblyNullReference: Cannot call method getEmail on possibly null value (see https://psalm.dev/083)
PossiblyNullArgument: lib/IMAP/PreviewEnhancer.php#L116
lib/IMAP/PreviewEnhancer.php:116:89: PossiblyNullArgument: Argument 2 of OCA\Mail\Service\AvatarService::getAvatar cannot be null, possibly null value provided (see https://psalm.dev/078)
static-psalm-analysis dev-master
Process completed with exit code 2.
static-psalm-analysis-summary
Process completed with exit code 1.