Skip to content

perf(stack): Optimize fetching all cards from a stack #5740

perf(stack): Optimize fetching all cards from a stack

perf(stack): Optimize fetching all cards from a stack #5740

Triggered via pull request August 13, 2025 12:55
Status Failure
Total duration 1m 26s
Artifacts –
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

psalm.yml

on: pull_request
static-psalm-analysis
1m 3s
static-psalm-analysis
Fit to window
Zoom out
Zoom in

Annotations

4 errors
static-psalm-analysis
Process completed with exit code 2.
InvalidArrayOffset: lib/Service/CardService.php#L102
lib/Service/CardService.php:102:31: InvalidArrayOffset: Cannot access value on variable $unreadCommentsCountPerCardId using a int offset, expecting string (see https://psalm.dev/115)
InvalidArgument: lib/Service/CardService.php#L97
lib/Service/CardService.php:97:107: InvalidArgument: Argument 2 of OCP\Comments\ICommentsManager::getNumberOfUnreadCommentsForObjects expects array<array-key, string>, but non-empty-array<array-key, int> provided (see https://psalm.dev/004)
UndefinedInterfaceMethod: lib/Service/CardService.php#L96
lib/Service/CardService.php:96:53: UndefinedInterfaceMethod: Method OCP\Comments\ICommentsManager::getNumberOfCommentsForObjects does not exist (see https://psalm.dev/181)