refactor: Consolidate account classes #4466
Annotations
10 errors
Run coding standards check:
lib/BackgroundJob/SyncJob.php#L31
lib/BackgroundJob/SyncJob.php:31:10: UndefinedClass: Class, interface or enum named OCA\Mail\Service\Sync\ImapToDbSynchronizer does not exist (see https://psalm.dev/019)
|
Run coding standards check:
lib/BackgroundJob/SyncJob.php#L40
lib/BackgroundJob/SyncJob.php:40:3: UndefinedClass: Class, interface or enum named OCA\Mail\Service\Sync\ImapToDbSynchronizer does not exist (see https://psalm.dev/019)
|
Run coding standards check:
lib/BackgroundJob/SyncJob.php#L93
lib/BackgroundJob/SyncJob.php:93:4: UndefinedClass: Class, interface or enum named OCA\Mail\Service\Sync\ImapToDbSynchronizer does not exist (see https://psalm.dev/019)
|
Run coding standards check:
lib/Controller/AccountsController.php#L181
lib/Controller/AccountsController.php:181:5: InvalidArgument: Argument 1 of OCA\Mail\Http\JsonResponse::success expects JsonSerializable|array<array-key, mixed>|bool|null|string, but OCA\Mail\Db\MailAccount provided (see https://psalm.dev/004)
|
Run coding standards check:
lib/Controller/AccountsController.php#L402
lib/Controller/AccountsController.php:402:4: InvalidArgument: Argument 1 of OCA\Mail\Http\JsonResponse::success expects JsonSerializable|array<array-key, mixed>|bool|null|string, but OCA\Mail\Db\MailAccount provided (see https://psalm.dev/004)
|
Run coding standards check:
lib/IMAP/IMAPClientFactory.php#L75
lib/IMAP/IMAPClientFactory.php:75:48: PossiblyNullArgument: Argument 1 of OCP\Security\ICrypto::decrypt cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Provider/MailProvider.php#L131
lib/Provider/MailProvider.php:131:46: InvalidArgument: Argument 2 of OCA\Mail\Provider\MailProvider::serviceFromAccount expects OCA\Mail\Db\MailAccount, but OCA\Mail\Service\Account provided (see https://psalm.dev/004)
|
Run coding standards check:
lib/Service/AccountService.php#L85
lib/Service/AccountService.php:85:13: UndefinedDocblockClass: Docblock-defined class, interface or enum named OCA\Mail\Service\Account does not exist (see https://psalm.dev/200)
|
Run coding standards check:
lib/Service/SieveService.php#L73
lib/Service/SieveService.php:73:58: PossiblyNullArgument: Argument 3 of OCA\Mail\Exception\CouldNotConnectException::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run coding standards check:
lib/Service/SieveService.php#L73
lib/Service/SieveService.php:73:84: PossiblyNullArgument: Argument 4 of OCA\Mail\Exception\CouldNotConnectException::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Loading