diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php index d1aea027ce..1941194f8f 100644 --- a/apps/files_external/lib/Lib/Storage/SFTP.php +++ b/apps/files_external/lib/Lib/Storage/SFTP.php @@ -141,6 +141,7 @@ class SFTP extends \OC\Files\Storage\Common { $login = false; foreach ($this->auth as $auth) { + /** @psalm-suppress TooManyArguments */ $login = $this->client->login($this->user, $auth); if ($login === true) { break; diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 1b2ae9655a..a82e1b81c0 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1615,9 +1615,6 @@ $e->getCode() $e->getCode() - - null - $source $target @@ -1660,12 +1657,6 @@ test - - Exception - - - Exception - @@ -1838,10 +1829,6 @@ - - scan - array - $recursive @@ -1882,14 +1869,6 @@ $query->createNamedParameter([IShare::TYPE_USER, IShare::TYPE_GROUP, IShare::TYPE_USERGROUP], IQueryBuilder::PARAM_INT_ARRAY) - - - array - - - null - - $itemSource @@ -3959,16 +3938,6 @@ $data - - - scanFile - scan - - - null - null - - $builder->func()->greatest('mtime', $builder->createNamedParameter((int)$time, IQueryBuilder::PARAM_INT)) @@ -3985,9 +3954,6 @@ - - array - $existingChildren @@ -3998,12 +3964,6 @@ $path self::SCAN_RECURSIVE_INCOMPLETE - - null - null - null - null - $data ?? $this->getData($file) @@ -4399,8 +4359,7 @@ string|false - - getMetaData + array @@ -4422,8 +4381,7 @@ $storage->updater $storage->updater - - null + $this->getStorageCache()->getAvailability() @@ -4527,9 +4485,6 @@ $file - - getMetaData - $helper->getFileSize($fullPath) file_put_contents($this->getSourcePath($path), $data) @@ -4540,8 +4495,7 @@ file_put_contents free_space - - null + $helper->getFileSize($fullPath) @@ -4559,7 +4513,7 @@ - + mkdir rmdir opendir @@ -4593,7 +4547,6 @@ getDirectDownload copyFromStorage moveFromStorage - getMetaData \Traversable @@ -4654,9 +4607,6 @@ $source $target - - array - $written $newUnencryptedSize @@ -4669,9 +4619,6 @@ $lastChunkPos $newUnencryptedSize - - null - $info $info @@ -5112,12 +5059,6 @@ exec exec - - self::$cache->exists($this->getNameSpace() . $key) - - - hasKey -