Skip to content

[stable30] Encryption trash fixes #2842

[stable30] Encryption trash fixes

[stable30] Encryption trash fixes #2842

Triggered via pull request December 11, 2024 17:14
Status Failure
Total duration 1m 1s
Artifacts

psalm.yml

on: pull_request
static-psalm-analysis
47s
static-psalm-analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
UndefinedDocblockClass: lib/Mount/GroupFolderStorage.php#L22
lib/Mount/GroupFolderStorage.php:22:11: UndefinedDocblockClass: Docblock-defined class, interface or enum named OCA\GroupFolders\Mount\ICache does not exist (see https://psalm.dev/200)
UndefinedDocblockClass: lib/Mount/GroupFolderStorage.php#L23
lib/Mount/GroupFolderStorage.php:23:2: UndefinedDocblockClass: Docblock-defined class, interface or enum named OCA\GroupFolders\Mount\ICache does not exist (see https://psalm.dev/200)
InvalidReturnType: lib/Mount/GroupFolderStorage.php#L48
lib/Mount/GroupFolderStorage.php:48:18: InvalidReturnType: The declared return type 'OC\Files\Cache\Cache' for OCA\GroupFolders\Mount\GroupFolderStorage::getCache is incorrect, got 'OCA\GroupFolders\Mount\ICache|OC\Files\Cache\Cache' (see https://psalm.dev/011)
InvalidReturnStatement: lib/Mount/GroupFolderStorage.php#L50
lib/Mount/GroupFolderStorage.php:50:11: InvalidReturnStatement: The inferred type 'OCA\GroupFolders\Mount\ICache' does not match the declared return type 'OC\Files\Cache\Cache' for OCA\GroupFolders\Mount\GroupFolderStorage::getCache (see https://psalm.dev/128)
InvalidPropertyAssignmentValue: lib/Mount/GroupFolderStorage.php#L60
lib/Mount/GroupFolderStorage.php:60:18: InvalidPropertyAssignmentValue: $this->cache with declared type 'OCA\GroupFolders\Mount\ICache|null' cannot be assigned type 'OC\Files\Cache\Cache' (see https://psalm.dev/145)
UndefinedClass: lib/Trash/TrashBackend.php#L165
lib/Trash/TrashBackend.php:165:12: UndefinedClass: Class, interface or enum named OC\Encryption\Exceptions\DecryptionFailedException does not exist (see https://psalm.dev/019)
UndefinedClass: lib/Trash/TrashBackend.php#L250
lib/Trash/TrashBackend.php:250:36: UndefinedClass: Class, interface or enum named OC\Files\Storage\Wrapper\Encryption does not exist (see https://psalm.dev/019)
UndefinedClass: lib/Trash/TrashBackend.php#L287
lib/Trash/TrashBackend.php:287:33: UndefinedClass: Class, interface or enum named OCA\Files_Trashbin\Storage does not exist (see https://psalm.dev/019)
UndefinedInterfaceMethod: lib/Trash/TrashBackend.php#L339
lib/Trash/TrashBackend.php:339:26: UndefinedInterfaceMethod: Method OCP\Files\Node::get does not exist (see https://psalm.dev/181)
UndefinedInterfaceMethod: lib/Trash/TrashBackend.php#L408
lib/Trash/TrashBackend.php:408:29: UndefinedInterfaceMethod: Method OCP\Files\Node::getDirectoryListing does not exist (see https://psalm.dev/181)