feat: mail snippets #4747
psalm-matrix.yml
on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
4s
Annotations
11 errors
PossiblyNullArgument:
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)
|
PossiblyNullArgument:
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)
|
PossiblyNullArgument:
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)
|
TypeDoesNotContainNull:
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)
|
PossiblyNullArgument:
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)
|
PossiblyNullArgument:
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)
|
TypeDoesNotContainNull:
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)
|
PossiblyNullArgument:
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)
|
TypeDoesNotContainNull:
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)
|
PossiblyNullArgument:
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)
|
static-psalm-analysis-summary
Process completed with exit code 1.
|