Skip to content

feat: ai message summary #4964

feat: ai message summary

feat: ai message summary #4964

Triggered via pull request December 9, 2024 23:44
Status Failure
Total duration 1m 17s
Artifacts

psalm-matrix.yml

on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
4s
static-psalm-analysis-summary
Fit to window
Zoom out
Zoom in

Annotations

11 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#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)
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#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)
PossiblyNullArgument: 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)
PossiblyNullArrayAccess: 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)
PossiblyNullArgument: 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)
PossiblyInvalidArgument: 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)
static-psalm-analysis-summary
Process completed with exit code 1.