feat: mail snippets #4695
Annotations
10 errors
Run coding standards check:
lib/Controller/SnippetController.php#L43
lib/Controller/SnippetController.php:43:46: PossiblyNullArgument: Argument 1 of OCA\Mail\Service\SnippetService::findAll cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Controller/SnippetController.php#L55
lib/Controller/SnippetController.php:55:58: PossiblyNullArgument: Argument 1 of OCA\Mail\Service\SnippetService::findAllSharedWithMe cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Controller/SnippetController.php#L88
lib/Controller/SnippetController.php:88:54: PossiblyNullArgument: Argument 2 of OCA\Mail\Service\SnippetService::find cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Controller/SnippetController.php#L90
lib/Controller/SnippetController.php:90:7: TypeDoesNotContainNull: OCA\Mail\Db\Snippet does not contain null (see https://psalm.dev/090)
|
Run coding standards check:
lib/Controller/SnippetController.php#L101
lib/Controller/SnippetController.php:101:54: PossiblyNullArgument: Argument 2 of OCA\Mail\Service\SnippetService::find cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Controller/SnippetController.php#L103
lib/Controller/SnippetController.php:103:7: TypeDoesNotContainNull: OCA\Mail\Db\Snippet does not contain null (see https://psalm.dev/090)
|
Run coding standards check:
lib/Service/SnippetService.php#L53
lib/Service/SnippetService.php:53:2: InvalidDocblock: Badly-formatted @param in docblock for OCA\Mail\Service\SnippetService::findAllSharedWithMe (see https://psalm.dev/008)
|
Run coding standards check:
lib/Service/SnippetService.php#L54
lib/Service/SnippetService.php:54:50: InvalidArgument: Argument 1 of OCP\IGroupManager::getUserGroupIds expects OCP\IUser, but string provided (see https://psalm.dev/004)
|
Run coding standards check:
lib/Service/SnippetService.php#L55
lib/Service/SnippetService.php:55:37: UndefinedMethod: Method OCA\Mail\Db\SnippetShareMapper::findSharedWithMe does not exist (see https://psalm.dev/022)
|
Run coding standards check
Process completed with exit code 2.
|
Loading