瀏覽代碼

fix(CI): Suppress psalm UndefinedClass

Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling 2 月之前
父節點
當前提交
0ce5133d66
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/private/Files/Storage/Local.php

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

@@ -558,6 +558,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