Skip to content

feat: mail snippets #4695

feat: mail snippets

feat: mail snippets #4695

Triggered via pull request October 18, 2024 16:53
Status Failure
Total duration 3m 1s
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#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)
PossiblyNullArgument: 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)
PossiblyNullArgument: 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)
TypeDoesNotContainNull: 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)
PossiblyNullArgument: 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)
TypeDoesNotContainNull: 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)
InvalidDocblock: 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)
InvalidArgument: 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)
UndefinedMethod: 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)
static-psalm-analysis dev-master
Process completed with exit code 2.
static-psalm-analysis-summary
Process completed with exit code 1.