fix: perform bulk message actions #4898
Annotations
9 errors
Run coding standards check:
lib/Controller/MessagesController.php#L805
lib/Controller/MessagesController.php:805:84: InvalidArgument: Argument 3 of OCA\Mail\Service\MessageOperationService::changeFlags expects array<string, bool>, but array<int, string> provided (see https://psalm.dev/004)
|
Run coding standards check:
lib/Controller/MessagesController.php#L909
lib/Controller/MessagesController.php:909:46: PossiblyNullArgument: Argument 1 of OCA\Mail\Contracts\IMailManager::getMessage cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Service/MessageOperationService.php#L42
lib/Service/MessageOperationService.php:42:10: InvalidReturnStatement: The inferred type 'array<array-key, mixed|non-empty-list<array{id: mixed, uid: mixed}>>|mixed' does not match the declared return type 'array<int, array<array-key, array{0: int, 1: int}>>' for OCA\Mail\Service\MessageOperationService::groupByMailbox (see https://psalm.dev/128)
|
Run coding standards check:
lib/Service/MessageOperationService.php#L56
lib/Service/MessageOperationService.php:56:12: InvalidClass: Class, interface or enum OCA\Mail\Db\MailBox has wrong casing (see https://psalm.dev/007)
|
Run coding standards check:
lib/Service/MessageOperationService.php#L58
lib/Service/MessageOperationService.php:58:13: InvalidClass: Class, interface or enum OCA\Mail\Db\MailBox has wrong casing (see https://psalm.dev/007)
|
Run coding standards check:
lib/Service/MessageOperationService.php#L75
lib/Service/MessageOperationService.php:75:12: InvalidClass: Class, interface or enum OCA\Mail\Db\MailBox has wrong casing (see https://psalm.dev/007)
|
Run coding standards check:
lib/Service/MessageOperationService.php#L81
lib/Service/MessageOperationService.php:81:14: InvalidArrayOffset: Cannot access value on variable $message using offset value of 'id', expecting 0 or 1 (see https://psalm.dev/115)
|
Run coding standards check:
lib/Service/MessageOperationService.php#L100
lib/Service/MessageOperationService.php:100:70: InvalidArgument: Argument 1 of OCA\Mail\Db\MailboxMapper::findByIds expects array<array-key, string>, but list<int> provided (see https://psalm.dev/004)
|
Run coding standards check
Process completed with exit code 2.
|
Loading