Skip to content

Feat/jmap 2

Feat/jmap 2 #8649

Triggered via pull request April 24, 2026 19:14
Status Failure
Total duration 1m 31s
Artifacts

psalm-matrix.yml

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

Annotations

31 errors and 4 warnings
PossiblyNullArrayOffset: lib/JMAP/JmapMailboxConnector.php#L79
lib/JMAP/JmapMailboxConnector.php:79:11: PossiblyNullArrayOffset: Cannot access value on variable $localMailboxes using possibly null offset array-key|null (see https://psalm.dev/125)
PossiblyNullArrayOffset: lib/JMAP/JmapMailboxConnector.php#L60
lib/JMAP/JmapMailboxConnector.php:60:25: PossiblyNullArrayOffset: Cannot access value on variable $remoteMailboxNames using possibly null offset null|string (see https://psalm.dev/125)
TooManyArguments: lib/JMAP/JmapMailboxConnector.php#L56
lib/JMAP/JmapMailboxConnector.php:56:32: TooManyArguments: Too many arguments for method OCA\Mail\JMAP\JmapMailboxConnector::constructmailboxsyncnamelookup - saw 2 (see https://psalm.dev/026)
UndefinedClass: lib/JMAP/JmapMailboxConnector.php#L33
lib/JMAP/JmapMailboxConnector.php:33:10: UndefinedClass: Class, interface or enum named OCA\Mail\JMAP\JmapClient does not exist (see https://psalm.dev/019)
TypeDoesNotContainType: lib/JMAP/JmapMailboxAdapter.php#L179
lib/JMAP/JmapMailboxAdapter.php:179:10: TypeDoesNotContainType: '' cannot be identical to non-empty-literal-string (see https://psalm.dev/056)
UndefinedClass: lib/JMAP/JmapMailboxAdapter.php#L69
lib/JMAP/JmapMailboxAdapter.php:69:25: UndefinedClass: Class, interface or enum named OCA\Mail\JMAP\MailboxRights does not exist (see https://psalm.dev/019)
UndefinedMethod: lib/JMAP/JmapMailboxAdapter.php#L69
lib/JMAP/JmapMailboxAdapter.php:69:14: UndefinedMethod: Method JmapClient\Requests\Mail\MailboxParameters::rights does not exist (see https://psalm.dev/022)
PossiblyNullArgument: lib/JMAP/JmapMailboxAdapter.php#L26
lib/JMAP/JmapMailboxAdapter.php:26:29: PossiblyNullArgument: Argument 1 of md5 cannot be null, possibly null value provided (see https://psalm.dev/078)
UndefinedMethod: lib/Controller/MessagesController.php#L909
lib/Controller/MessagesController.php:909:31: UndefinedMethod: Method OCA\Mail\Service\MailManager::getTagByImapLabel does not exist (see https://psalm.dev/022)
UndefinedMethod: lib/Controller/MessagesController.php#L875
lib/Controller/MessagesController.php:875:31: UndefinedMethod: Method OCA\Mail\Service\MailManager::getTagByImapLabel does not exist (see https://psalm.dev/022)
PossiblyNullArrayOffset: lib/JMAP/JmapMailboxConnector.php#L79
lib/JMAP/JmapMailboxConnector.php:79:11: PossiblyNullArrayOffset: Cannot access value on variable $localMailboxes using possibly null offset array-key|null (see https://psalm.dev/125)
PossiblyNullArrayOffset: lib/JMAP/JmapMailboxConnector.php#L60
lib/JMAP/JmapMailboxConnector.php:60:25: PossiblyNullArrayOffset: Cannot access value on variable $remoteMailboxNames using possibly null offset null|string (see https://psalm.dev/125)
TooManyArguments: lib/JMAP/JmapMailboxConnector.php#L56
lib/JMAP/JmapMailboxConnector.php:56:32: TooManyArguments: Too many arguments for method OCA\Mail\JMAP\JmapMailboxConnector::constructmailboxsyncnamelookup - saw 2 (see https://psalm.dev/026)
UndefinedClass: lib/JMAP/JmapMailboxConnector.php#L33
lib/JMAP/JmapMailboxConnector.php:33:10: UndefinedClass: Class, interface or enum named OCA\Mail\JMAP\JmapClient does not exist (see https://psalm.dev/019)
TypeDoesNotContainType: lib/JMAP/JmapMailboxAdapter.php#L179
lib/JMAP/JmapMailboxAdapter.php:179:10: TypeDoesNotContainType: '' cannot be identical to non-empty-literal-string (see https://psalm.dev/056)
UndefinedClass: lib/JMAP/JmapMailboxAdapter.php#L69
lib/JMAP/JmapMailboxAdapter.php:69:25: UndefinedClass: Class, interface or enum named OCA\Mail\JMAP\MailboxRights does not exist (see https://psalm.dev/019)
UndefinedMethod: lib/JMAP/JmapMailboxAdapter.php#L69
lib/JMAP/JmapMailboxAdapter.php:69:14: UndefinedMethod: Method JmapClient\Requests\Mail\MailboxParameters::rights does not exist (see https://psalm.dev/022)
PossiblyNullArgument: lib/JMAP/JmapMailboxAdapter.php#L26
lib/JMAP/JmapMailboxAdapter.php:26:29: PossiblyNullArgument: Argument 1 of md5 cannot be null, possibly null value provided (see https://psalm.dev/078)
UndefinedMethod: lib/Controller/MessagesController.php#L909
lib/Controller/MessagesController.php:909:31: UndefinedMethod: Method OCA\Mail\Service\MailManager::getTagByImapLabel does not exist (see https://psalm.dev/022)
UndefinedMethod: lib/Controller/MessagesController.php#L875
lib/Controller/MessagesController.php:875:31: UndefinedMethod: Method OCA\Mail\Service\MailManager::getTagByImapLabel does not exist (see https://psalm.dev/022)
PossiblyNullArrayOffset: lib/JMAP/JmapMailboxConnector.php#L79
lib/JMAP/JmapMailboxConnector.php:79:11: PossiblyNullArrayOffset: Cannot access value on variable $localMailboxes using possibly null offset array-key|null (see https://psalm.dev/125)
PossiblyNullArrayOffset: lib/JMAP/JmapMailboxConnector.php#L60
lib/JMAP/JmapMailboxConnector.php:60:25: PossiblyNullArrayOffset: Cannot access value on variable $remoteMailboxNames using possibly null offset null|string (see https://psalm.dev/125)
TooManyArguments: lib/JMAP/JmapMailboxConnector.php#L56
lib/JMAP/JmapMailboxConnector.php:56:32: TooManyArguments: Too many arguments for method OCA\Mail\JMAP\JmapMailboxConnector::constructmailboxsyncnamelookup - saw 2 (see https://psalm.dev/026)
UndefinedClass: lib/JMAP/JmapMailboxConnector.php#L33
lib/JMAP/JmapMailboxConnector.php:33:10: UndefinedClass: Class, interface or enum named OCA\Mail\JMAP\JmapClient does not exist (see https://psalm.dev/019)
TypeDoesNotContainType: lib/JMAP/JmapMailboxAdapter.php#L179
lib/JMAP/JmapMailboxAdapter.php:179:10: TypeDoesNotContainType: '' cannot be identical to non-empty-literal-string (see https://psalm.dev/056)
UndefinedClass: lib/JMAP/JmapMailboxAdapter.php#L69
lib/JMAP/JmapMailboxAdapter.php:69:25: UndefinedClass: Class, interface or enum named OCA\Mail\JMAP\MailboxRights does not exist (see https://psalm.dev/019)
UndefinedMethod: lib/JMAP/JmapMailboxAdapter.php#L69
lib/JMAP/JmapMailboxAdapter.php:69:14: UndefinedMethod: Method JmapClient\Requests\Mail\MailboxParameters::rights does not exist (see https://psalm.dev/022)
PossiblyNullArgument: lib/JMAP/JmapMailboxAdapter.php#L26
lib/JMAP/JmapMailboxAdapter.php:26:29: PossiblyNullArgument: Argument 1 of md5 cannot be null, possibly null value provided (see https://psalm.dev/078)
UndefinedMethod: lib/Controller/MessagesController.php#L909
lib/Controller/MessagesController.php:909:31: UndefinedMethod: Method OCA\Mail\Service\MailManager::getTagByImapLabel does not exist (see https://psalm.dev/022)
UndefinedMethod: lib/Controller/MessagesController.php#L875
lib/Controller/MessagesController.php:875:31: UndefinedMethod: Method OCA\Mail\Service\MailManager::getTagByImapLabel does not exist (see https://psalm.dev/022)
static-psalm-analysis-summary
Process completed with exit code 1.
matrix
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
static-psalm-analysis dev-stable32
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@85c019fd025f731a83ac9fbc1cdd9ba69d76b6e3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
static-psalm-analysis dev-stable33
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@85c019fd025f731a83ac9fbc1cdd9ba69d76b6e3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
static-psalm-analysis dev-master
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@85c019fd025f731a83ac9fbc1cdd9ba69d76b6e3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/