aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files
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:32:35 +0200
commit0095ce7723a332f388184ec4f7aa6e91385de912 (patch)
tree1b4b97990488fe0243df167d838248548dccc82d /lib/private/Files
parent1dcc48ac4fb67e502775491bdb3fa70314feac76 (diff)
downloadnextcloud-server-0095ce7723a332f388184ec4f7aa6e91385de912.tar.gz
nextcloud-server-0095ce7723a332f388184ec4f7aa6e91385de912.zip
fix(CI): Suppress psalm UndefinedClass
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Files')
-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 0ef6fcebfdb..2ae22d33d2e 100644
--- a/lib/private/Files/Storage/Local.php
+++ b/lib/private/Files/Storage/Local.php
@@ -584,6 +584,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