Skip to content

feat: mail snippets #4746

feat: mail snippets

feat: mail snippets #4746

Triggered via pull request October 30, 2024 14:53
Status Failure
Total duration 26m 3s
Artifacts

psalm-matrix.yml

on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
5s
static-psalm-analysis-summary
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PossiblyNullArgument: lib/Controller/SnippetController.php#L44
lib/Controller/SnippetController.php:44: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#L56
lib/Controller/SnippetController.php:56: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#L89
lib/Controller/SnippetController.php:89: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#L91
lib/Controller/SnippetController.php:91:7: TypeDoesNotContainNull: OCA\Mail\Db\Snippet does not contain null (see https://psalm.dev/090)
PossiblyNullArgument: lib/Controller/SnippetController.php#L102
lib/Controller/SnippetController.php:102:46: 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#L119
lib/Controller/SnippetController.php:119: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#L121
lib/Controller/SnippetController.php:121:7: TypeDoesNotContainNull: OCA\Mail\Db\Snippet does not contain null (see https://psalm.dev/090)
UndefinedVariable: lib/Controller/SnippetController.php#L139
lib/Controller/SnippetController.php:139:42: UndefinedVariable: Cannot find referenced variable $snippetId (see https://psalm.dev/024)
PossiblyNullArgument: lib/Controller/SnippetController.php#L139
lib/Controller/SnippetController.php:139: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#L141
lib/Controller/SnippetController.php:141:7: TypeDoesNotContainNull: OCA\Mail\Db\Snippet does not contain null (see https://psalm.dev/090)
static-psalm-analysis-summary
Process completed with exit code 1.