aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
commitf5c361cf44739058b79f322576a1bad2d8c142d9 (patch)
treea22217c6995751023112832d191d213e494e2fbc /lib/private/Encryption
parent37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (diff)
downloadnextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.tar.gz
nextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.zip
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Encryption')
-rw-r--r--lib/private/Encryption/DecryptAll.php2
-rw-r--r--lib/private/Encryption/EncryptionWrapper.php1
-rw-r--r--lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php1
-rw-r--r--lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php1
-rw-r--r--lib/private/Encryption/File.php1
-rw-r--r--lib/private/Encryption/Keys/Storage.php1
-rw-r--r--lib/private/Encryption/Manager.php1
-rw-r--r--lib/private/Encryption/Update.php1
-rw-r--r--lib/private/Encryption/Util.php1
9 files changed, 0 insertions, 10 deletions
diff --git a/lib/private/Encryption/DecryptAll.php b/lib/private/Encryption/DecryptAll.php
index 6d604e38d4b..7bf4ce62d28 100644
--- a/lib/private/Encryption/DecryptAll.php
+++ b/lib/private/Encryption/DecryptAll.php
@@ -37,7 +37,6 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class DecryptAll {
-
/** @var OutputInterface */
protected $output;
@@ -250,7 +249,6 @@ class DecryptAll {
* @return bool
*/
protected function decryptFile($path) {
-
// skip already decrypted files
$fileInfo = $this->rootView->getFileInfo($path);
if ($fileInfo !== false && !$fileInfo->isEncrypted()) {
diff --git a/lib/private/Encryption/EncryptionWrapper.php b/lib/private/Encryption/EncryptionWrapper.php
index f2803fa5ff8..37264e81823 100644
--- a/lib/private/Encryption/EncryptionWrapper.php
+++ b/lib/private/Encryption/EncryptionWrapper.php
@@ -40,7 +40,6 @@ use Psr\Log\LoggerInterface;
* @package OC\Encryption
*/
class EncryptionWrapper {
-
/** @var ArrayCache */
private $arrayCache;
diff --git a/lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php b/lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php
index 7c9e70b4958..99cfb1eb8d1 100644
--- a/lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php
+++ b/lib/private/Encryption/Exceptions/EncryptionHeaderKeyExistsException.php
@@ -25,7 +25,6 @@ namespace OC\Encryption\Exceptions;
use OCP\Encryption\Exceptions\GenericEncryptionException;
class EncryptionHeaderKeyExistsException extends GenericEncryptionException {
-
/**
* @param string $key
*/
diff --git a/lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php b/lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php
index 64b34e1b883..d0a2756212b 100644
--- a/lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php
+++ b/lib/private/Encryption/Exceptions/ModuleAlreadyExistsException.php
@@ -25,7 +25,6 @@ namespace OC\Encryption\Exceptions;
use OCP\Encryption\Exceptions\GenericEncryptionException;
class ModuleAlreadyExistsException extends GenericEncryptionException {
-
/**
* @param string $id
* @param string $name
diff --git a/lib/private/Encryption/File.php b/lib/private/Encryption/File.php
index 87bc35bc159..daab097ce7c 100644
--- a/lib/private/Encryption/File.php
+++ b/lib/private/Encryption/File.php
@@ -71,7 +71,6 @@ class File implements \OCP\Encryption\IFile {
* @return array{users: string[], public: bool}
*/
public function getAccessList($path) {
-
// Make sure that a share key is generated for the owner too
[$owner, $ownerPath] = $this->util->getUidAndFilename($path);
diff --git a/lib/private/Encryption/Keys/Storage.php b/lib/private/Encryption/Keys/Storage.php
index a3772af5878..b6376dc0146 100644
--- a/lib/private/Encryption/Keys/Storage.php
+++ b/lib/private/Encryption/Keys/Storage.php
@@ -37,7 +37,6 @@ use OCP\IConfig;
use OCP\Security\ICrypto;
class Storage implements IStorage {
-
// hidden file which indicate that the folder is a valid key storage
public const KEY_STORAGE_MARKER = '.oc_key_storage';
diff --git a/lib/private/Encryption/Manager.php b/lib/private/Encryption/Manager.php
index 5788da990d5..a553d6a55d1 100644
--- a/lib/private/Encryption/Manager.php
+++ b/lib/private/Encryption/Manager.php
@@ -37,7 +37,6 @@ use OCP\IL10N;
use Psr\Log\LoggerInterface;
class Manager implements IManager {
-
/** @var array */
protected $encryptionModules;
diff --git a/lib/private/Encryption/Update.php b/lib/private/Encryption/Update.php
index 9996d6e077c..2e390177baf 100644
--- a/lib/private/Encryption/Update.php
+++ b/lib/private/Encryption/Update.php
@@ -37,7 +37,6 @@ use Psr\Log\LoggerInterface;
* update encrypted files, e.g. because a file was shared
*/
class Update {
-
/** @var View */
protected $view;
diff --git a/lib/private/Encryption/Util.php b/lib/private/Encryption/Util.php
index bf7bbce8ad7..371f2588289 100644
--- a/lib/private/Encryption/Util.php
+++ b/lib/private/Encryption/Util.php
@@ -308,7 +308,6 @@ class Util {
$normalizedPath = Filesystem::normalizePath($path);
$root = explode('/', $normalizedPath, 4);
if (count($root) > 1) {
-
// detect alternative key storage root
$rootDir = $this->getKeyStorageRoot();
if ($rootDir !== '' &&