Skip to content

feat: mail snippets #4696

feat: mail snippets

feat: mail snippets #4696

Triggered via pull request October 18, 2024 17:04
Status Failure
Total duration 3m 19s
Artifacts

psalm-matrix.yml

on: pull_request
Matrix: static-analysis
static-psalm-analysis-summary
4s
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)
PossiblyNullArgument: lib/Controller/SnippetController.php#L147
lib/Controller/SnippetController.php:147: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#L149
lib/Controller/SnippetController.php:149:7: TypeDoesNotContainNull: OCA\Mail\Db\Snippet does not contain null (see https://psalm.dev/090)
InvalidDocblock: lib/Service/SnippetService.php#L54
lib/Service/SnippetService.php:54:2: InvalidDocblock: Badly-formatted @param in docblock for OCA\Mail\Service\SnippetService::findAllSharedWithMe (see https://psalm.dev/008)
static-psalm-analysis-summary
Process completed with exit code 1.