chore/share provide get users #6273
psalm.yml
on: pull_request
static-psalm-analysis
1m 40s
Annotations
10 errors
|
InvalidReturnStatement:
lib/Service/PermissionService.php#L279
lib/Service/PermissionService.php:279:10: InvalidReturnStatement: The inferred type 'array<array-key, OCA\Deck\Db\User|array<array-key, OCA\Deck\Db\User|array<string, OCA\Deck\Db\User>>>|mixed' does not match the declared return type 'array<array-key, OCA\Deck\Db\User>' for OCA\Deck\Service\PermissionService::findUsers (see https://psalm.dev/128)
|
|
InvalidArgument:
lib/Service/BoardService.php#L271
lib/Service/BoardService.php:271:42: InvalidArgument: Argument 1 of OCP\EventDispatcher\IEventDispatcher::dispatchTyped expects OCP\EventDispatcher\Event, but OCA\Files_Sharing\Event\UserShareAccessUpdatedEvent provided (see https://psalm.dev/004)
|
|
UndefinedClass:
lib/Service/BoardService.php#L270
lib/Service/BoardService.php:270:17: UndefinedClass: Class, interface or enum named OCA\Files_Sharing\Event\UserShareAccessUpdatedEvent does not exist (see https://psalm.dev/019)
|
|
InvalidArgument:
lib/Service/BoardService.php#L246
lib/Service/BoardService.php:246:42: InvalidArgument: Argument 1 of OCP\EventDispatcher\IEventDispatcher::dispatchTyped expects OCP\EventDispatcher\Event, but OCA\Files_Sharing\Event\UserShareAccessUpdatedEvent provided (see https://psalm.dev/004)
|
|
UndefinedClass:
lib/Service/BoardService.php#L245
lib/Service/BoardService.php:245:17: UndefinedClass: Class, interface or enum named OCA\Files_Sharing\Event\UserShareAccessUpdatedEvent does not exist (see https://psalm.dev/019)
|
|
RedundantCast:
lib/Notification/NotificationHelper.php#L110
lib/Notification/NotificationHelper.php:110:16: RedundantCast: Redundant cast to string (see https://psalm.dev/262)
|
|
UndefinedClass:
lib/Listeners/AclCreatedRemovedListener.php#L40
lib/Listeners/AclCreatedRemovedListener.php:40:46: UndefinedClass: Class, interface or enum named OCA\Files_Sharing\Event\UserShareAccessUpdatedEvent does not exist (see https://psalm.dev/019)
|
|
UndefinedClass:
lib/Listeners/AclCreatedRemovedListener.php#L36
lib/Listeners/AclCreatedRemovedListener.php:36:47: UndefinedClass: Class, interface or enum named OCA\Files_Sharing\Event\UserShareAccessUpdatedEvent does not exist (see https://psalm.dev/019)
|
|
InvalidArgument:
lib/Listeners/AclCreatedRemovedListener.php#L36
lib/Listeners/AclCreatedRemovedListener.php:36:43: InvalidArgument: Argument 1 of OCP\EventDispatcher\IEventDispatcher::dispatchTyped expects OCP\EventDispatcher\Event, but OCA\Files_Sharing\Event\UserShareAccessUpdatedEvent provided (see https://psalm.dev/004)
|
|
MissingTemplateParam:
lib/Listeners/AclCreatedRemovedListener.php#L19
lib/Listeners/AclCreatedRemovedListener.php:19:44: MissingTemplateParam: OCA\Deck\Listeners\AclCreatedRemovedListener has missing template params when extending OCP\EventDispatcher\IEventListener, expecting 1 (see https://psalm.dev/182)
|