perf: reduce number of avatar requests #4992
psalm-matrix.yml
on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
8s
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.
|