feat: ai message summary #5057
psalm-matrix.yml
on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
5s
Annotations
9 errors
InvalidArgument:
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)
|
InvalidArgument:
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)
|
InvalidTemplateParam:
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)
|
MoreSpecificImplementedParamType:
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)
|
InvalidTemplateParam:
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)
|
MoreSpecificImplementedParamType:
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)
|
PossiblyInvalidArgument:
lib/Listener/TaskProcessingListener.php#L71
lib/Listener/TaskProcessingListener.php:71:51: PossiblyInvalidArgument: Argument 3 of OCA\Mail\Listener\TaskProcessingListener::handleMessageSummary expects string, but possibly different type list<numeric|string>|numeric|string provided (see https://psalm.dev/092)
|
static-psalm-analysis dev-master
Process completed with exit code 2.
|
static-psalm-analysis-summary
Process completed with exit code 1.
|