perf(stack): Optimize fetching all cards from a stack #5740
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
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)
|