Skip to content

feat: chatty ui

feat: chatty ui #117

Triggered via pull request May 9, 2024 07:36
Status Failure
Total duration 2m 2s
Artifacts

psalm.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
InvalidArgument: lib/Controller/ChattyLLMController.php#L71
lib/Controller/ChattyLLMController.php:71:23: InvalidArgument: Argument 1 of setTitle expects int, but null|string provided (see https://psalm.dev/004)
InvalidArgument: lib/Controller/ChattyLLMController.php#L345
lib/Controller/ChattyLLMController.php:345:99: InvalidArgument: Argument 3 of OCP\IConfig::getAppValue expects string, but 10 provided (see https://psalm.dev/004)
MoreSpecificReturnType: lib/Db/ChattyLLM/MessageMapper.php#L44
lib/Db/ChattyLLM/MessageMapper.php:44:13: MoreSpecificReturnType: The declared return type 'list<OCA\Assistant\Db\ChattyLLM\Message>' for OCA\Assistant\Db\ChattyLLM\MessageMapper::getMessages is more specific than the inferred return type 'array<array-key, OCA\Assistant\Db\ChattyLLM\Message>' (see https://psalm.dev/070)
LessSpecificReturnStatement: lib/Db/ChattyLLM/MessageMapper.php#L60
lib/Db/ChattyLLM/MessageMapper.php:60:10: LessSpecificReturnStatement: The type 'array<array-key, OCA\Assistant\Db\ChattyLLM\Message>' is more general than the declared return type 'list<OCA\Assistant\Db\ChattyLLM\Message>' for OCA\Assistant\Db\ChattyLLM\MessageMapper::getMessages (see https://psalm.dev/129)
Psalm check
Process completed with exit code 2.
Psalm check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.