perf: reduce number of avatar requests #4992
Annotations
7 errors
Run coding standards check:
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)
|
Run coding standards check:
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)
|
Run coding standards check:
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)
|
Run coding standards check:
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)
|
Run coding standards check:
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)
|
Run coding standards check:
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)
|
Run coding standards check
Process completed with exit code 2.
|
Loading