feat: mail snippets #5085
Annotations
10 errors
Run coding standards check:
lib/Controller/SnippetController.php#L42
lib/Controller/SnippetController.php:42: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#L54
lib/Controller/SnippetController.php:54: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#L87
lib/Controller/SnippetController.php:87:47: 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#L89
lib/Controller/SnippetController.php:89:7: TypeDoesNotContainNull: OCA\Mail\Db\Snippet does not contain null (see https://psalm.dev/090)
|
Run coding standards check:
lib/Controller/SnippetController.php#L100
lib/Controller/SnippetController.php:100:39: PossiblyNullArgument: Argument 2 of OCA\Mail\Service\SnippetService::delete cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Controller/SnippetController.php#L117
lib/Controller/SnippetController.php:117: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#L119
lib/Controller/SnippetController.php:119:7: TypeDoesNotContainNull: OCA\Mail\Db\Snippet does not contain null (see https://psalm.dev/090)
|
Run coding standards check:
lib/Controller/SnippetController.php#L137
lib/Controller/SnippetController.php:137:47: 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#L139
lib/Controller/SnippetController.php:139:7: TypeDoesNotContainNull: OCA\Mail\Db\Snippet does not contain null (see https://psalm.dev/090)
|
Run coding standards check:
lib/Controller/SnippetController.php#L157
lib/Controller/SnippetController.php:157:54: PossiblyNullArgument: Argument 2 of OCA\Mail\Service\SnippetService::find cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Loading