Browse Source

fix(CI): Suppress psalm UndefinedClass

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v27.1.9rc1
Joas Schilling 1 month ago
parent
commit
7203ce22ac
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      lib/private/Files/Storage/Local.php

+ 1
- 0
lib/private/Files/Storage/Local.php View File

@@ -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

Loading…
Cancel
Save