feat: ai message summary #5056
Annotations
10 errors
Run coding standards check:
lib/AppInfo/Application.php#L139
lib/AppInfo/Application.php:139:67: InvalidArgument: Argument 2 of OCP\AppFramework\Bootstrap\IRegistrationContext::registerEventListener expects class-string<OCP\EventDispatcher\IEventListener<OCP\EventDispatcher\Event>>, but OCA\Mail\Listener\NewMessagesSummarizeListener::class provided (see https://psalm.dev/004)
|
Run coding standards check:
lib/AppInfo/Application.php#L148
lib/AppInfo/Application.php:148:63: InvalidArgument: Argument 2 of OCP\AppFramework\Bootstrap\IRegistrationContext::registerEventListener expects class-string<OCP\EventDispatcher\IEventListener<OCP\EventDispatcher\Event>>, but OCA\Mail\Listener\TaskProcessingListener::class provided (see https://psalm.dev/004)
|
Run coding standards check:
lib/Listener/NewMessagesSummarizeListener.php#L24
lib/Listener/NewMessagesSummarizeListener.php:24:47: InvalidTemplateParam: Extended template param T expects type OCP\EventDispatcher\Event, type OCA\Mail\Listener\NewMessagesSummarizeListener|OCP\EventDispatcher\Event given (see https://psalm.dev/183)
|
Run coding standards check:
lib/Listener/NewMessagesSummarizeListener.php#L34
lib/Listener/NewMessagesSummarizeListener.php:34:31: MoreSpecificImplementedParamType: Argument 1 of OCA\Mail\Listener\NewMessagesSummarizeListener::handle has the more specific type 'OCP\EventDispatcher\Event', expecting 'OCA\Mail\Listener\NewMessagesSummarizeListener|OCP\EventDispatcher\Event' as defined by OCP\EventDispatcher\IEventListener::handle (see https://psalm.dev/140)
|
Run coding standards check:
lib/Listener/TaskProcessingListener.php#L23
lib/Listener/TaskProcessingListener.php:23:41: InvalidTemplateParam: Extended template param T expects type OCP\EventDispatcher\Event, type OCA\Mail\Listener\NewMessagesSummarizeListener|OCP\EventDispatcher\Event given (see https://psalm.dev/183)
|
Run coding standards check:
lib/Listener/TaskProcessingListener.php#L31
lib/Listener/TaskProcessingListener.php:31:31: MoreSpecificImplementedParamType: Argument 1 of OCA\Mail\Listener\TaskProcessingListener::handle has the more specific type 'OCP\EventDispatcher\Event', expecting 'OCA\Mail\Listener\NewMessagesSummarizeListener|OCP\EventDispatcher\Event' as defined by OCP\EventDispatcher\IEventListener::handle (see https://psalm.dev/140)
|
Run coding standards check:
lib/Listener/TaskProcessingListener.php#L63
lib/Listener/TaskProcessingListener.php:63:7: PossiblyUndefinedVariable: Possibly undefined variable $type, first seen on line 48 (see https://psalm.dev/018)
|
Run coding standards check:
lib/Listener/TaskProcessingListener.php#L64
lib/Listener/TaskProcessingListener.php:64:32: PossiblyUndefinedVariable: Possibly undefined variable $userId, first seen on line 53 (see https://psalm.dev/018)
|
Run coding standards check:
lib/Listener/TaskProcessingListener.php#L64
lib/Listener/TaskProcessingListener.php:64:46: PossiblyUndefinedVariable: Possibly undefined variable $id, first seen on line 48 (see https://psalm.dev/018)
|
Run coding standards check:
lib/Listener/TaskProcessingListener.php#L64
lib/Listener/TaskProcessingListener.php:64:51: PossiblyUndefinedVariable: Possibly undefined variable $summary, first seen on line 58 (see https://psalm.dev/018)
|
Loading