From 0095ce7723a332f388184ec4f7aa6e91385de912 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 18 Apr 2024 09:24:11 +0200 Subject: [PATCH] fix(CI): Suppress psalm UndefinedClass Signed-off-by: Joas Schilling --- lib/private/Files/Storage/Local.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index 0ef6fcebfdb34..2ae22d33d2e94 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -584,6 +584,7 @@ private function calculateEtag(string $path, array $stat): string { } 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