Skip to content

feature: mail provider backend #4287

feature: mail provider backend

feature: mail provider backend #4287

Triggered via pull request August 27, 2024 17:04
Status Failure
Total duration 4m 6s
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

10 errors
InvalidArgument: lib/Provider/MailProvider.php#L88
lib/Provider/MailProvider.php:88:76: InvalidArgument: Argument 2 of OCA\Mail\Provider\MailProvider::serviceFromAccount expects string, but OCA\Mail\Account provided (see https://psalm.dev/004)
InvalidArgument: lib/Provider/MailProvider.php#L122
lib/Provider/MailProvider.php:122:45: InvalidArgument: Argument 2 of OCA\Mail\Provider\MailProvider::serviceFromAccount expects string, but OCA\Mail\Account provided (see https://psalm.dev/004)
InvalidArgument: lib/Provider/MailProvider.php#L148
lib/Provider/MailProvider.php:148:46: InvalidArgument: Argument 2 of OCA\Mail\Provider\MailProvider::serviceFromAccount expects string, but OCA\Mail\Account provided (see https://psalm.dev/004)
MismatchingDocblockParamType: lib/Provider/MailProvider.php#L172
lib/Provider/MailProvider.php:172:12: MismatchingDocblockParamType: Parameter $account has wrong type 'string', should be 'OCA\Mail\Account' (see https://psalm.dev/141)
InvalidMethodCall: lib/Provider/MailProvider.php#L179
lib/Provider/MailProvider.php:179:34: InvalidMethodCall: Cannot call method on string variable $account (see https://psalm.dev/091)
InvalidMethodCall: lib/Provider/MailProvider.php#L180
lib/Provider/MailProvider.php:180:29: InvalidMethodCall: Cannot call method on string variable $account (see https://psalm.dev/091)
InvalidMethodCall: lib/Provider/MailProvider.php#L181
lib/Provider/MailProvider.php:181:47: InvalidMethodCall: Cannot call method on string variable $account (see https://psalm.dev/091)
InvalidMethodCall: lib/Provider/MailProvider.php#L181
lib/Provider/MailProvider.php:181:69: InvalidMethodCall: Cannot call method on string variable $account (see https://psalm.dev/091)
static-psalm-analysis dev-master
Process completed with exit code 2.
static-psalm-analysis-summary
Process completed with exit code 1.