aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-04-18 09:24:11 +0200
committerJoas Schilling <coding@schilljs.com>2024-04-18 09:39:39 +0200
commit7203ce22ac27c2a2393f4c8737c6f25b6680bc8a (patch)
treef6eea712d77056ba8ee1e6b7fbc1d263ca58101f
parent2a33e941318b0a63faa5287e4f70563ab74c4586 (diff)
downloadnextcloud-server-7203ce22ac27c2a2393f4c8737c6f25b6680bc8a.tar.gz
nextcloud-server-7203ce22ac27c2a2393f4c8737c6f25b6680bc8a.zip
fix(CI): Suppress psalm UndefinedClass
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/Files/Storage/Local.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php
index 12e7e67c097..a23879607c2 100644
--- a/lib/private/Files/Storage/Local.php
+++ b/lib/private/Files/Storage/Local.php
@@ -588,6 +588,7 @@ class Local extends \OC\Files\Storage\Common {
}
private function canDoCrossStorageMove(IStorage $sourceStorage) {
+ /** @psalm-suppress UndefinedClass */
return $sourceStorage->instanceOfStorage(Local::class)
// Don't treat ACLStorageWrapper like local storage where copy can be done directly.
// Instead, use the slower recursive copying in php from Common::copyFromStorage with