feat: ai message summary #4964
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#L33
lib/Listener/NewMessagesSummarizeListener.php:33: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#L30
lib/Listener/TaskProcessingListener.php:30: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#L46
lib/Listener/TaskProcessingListener.php:46:35: PossiblyNullArgument: Argument 2 of explode cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Listener/TaskProcessingListener.php#L48
lib/Listener/TaskProcessingListener.php:48:14: PossiblyNullArrayAccess: Cannot access array value on possibly null variable of type array<array-key, list<numeric|string>|numeric|string>|null (see https://psalm.dev/079)
|
Run coding standards check:
lib/Listener/TaskProcessingListener.php#L51
lib/Listener/TaskProcessingListener.php:51:45: PossiblyNullArgument: Argument 1 of OCA\Mail\Listener\TaskProcessingListener::handleMessageSummary cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Listener/TaskProcessingListener.php#L51
lib/Listener/TaskProcessingListener.php:51:64: PossiblyInvalidArgument: Argument 3 of OCA\Mail\Listener\TaskProcessingListener::handleMessageSummary expects string, but possibly different type list<numeric|string>|null|numeric|string provided (see https://psalm.dev/092)
|
Loading