summaryrefslogtreecommitdiffstats
path: root/apps/encryption
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 11:48:10 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 11:48:10 +0200
commit41b5e5923a44965e435d35d01b5009abb2dd5c97 (patch)
tree1d832f87ecbaa33c5ad6e09792e5ae5a0f760fe6 /apps/encryption
parent813bdc1ce8a45039fa17aac12bd078466a0034d0 (diff)
downloadnextcloud-server-41b5e5923a44965e435d35d01b5009abb2dd5c97.tar.gz
nextcloud-server-41b5e5923a44965e435d35d01b5009abb2dd5c97.zip
Use exactly one empty line after the namespace declaration
For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/encryption')
-rw-r--r--apps/encryption/lib/AppInfo/Application.php1
-rw-r--r--apps/encryption/lib/Command/DisableMasterKey.php1
-rw-r--r--apps/encryption/lib/Command/EnableMasterKey.php1
-rw-r--r--apps/encryption/lib/Command/RecoverUser.php1
-rw-r--r--apps/encryption/lib/Controller/RecoveryController.php1
-rw-r--r--apps/encryption/lib/Controller/StatusController.php1
-rw-r--r--apps/encryption/lib/Crypto/Crypt.php1
-rw-r--r--apps/encryption/lib/Crypto/DecryptAll.php1
-rw-r--r--apps/encryption/lib/Crypto/Encryption.php1
-rw-r--r--apps/encryption/lib/HookManager.php1
-rw-r--r--apps/encryption/lib/Hooks/Contracts/IHook.php1
-rw-r--r--apps/encryption/lib/Hooks/UserHooks.php1
-rw-r--r--apps/encryption/lib/Migration/SetMasterKeyStatus.php1
-rw-r--r--apps/encryption/lib/Recovery.php1
-rw-r--r--apps/encryption/lib/Settings/Personal.php1
-rw-r--r--apps/encryption/lib/Users/Setup.php1
-rw-r--r--apps/encryption/lib/Util.php1
-rw-r--r--apps/encryption/tests/Command/TestEnableMasterKey.php1
-rw-r--r--apps/encryption/tests/Controller/RecoveryControllerTest.php1
-rw-r--r--apps/encryption/tests/Controller/StatusControllerTest.php1
-rw-r--r--apps/encryption/tests/Crypto/CryptTest.php1
-rw-r--r--apps/encryption/tests/Crypto/DecryptAllTest.php1
-rw-r--r--apps/encryption/tests/Crypto/EncryptAllTest.php1
-rw-r--r--apps/encryption/tests/HookManagerTest.php1
-rw-r--r--apps/encryption/tests/Hooks/UserHooksTest.php1
-rw-r--r--apps/encryption/tests/KeyManagerTest.php1
-rw-r--r--apps/encryption/tests/RecoveryTest.php1
-rw-r--r--apps/encryption/tests/SessionTest.php1
-rw-r--r--apps/encryption/tests/Users/SetupTest.php1
-rw-r--r--apps/encryption/tests/UtilTest.php1
30 files changed, 0 insertions, 30 deletions
diff --git a/apps/encryption/lib/AppInfo/Application.php b/apps/encryption/lib/AppInfo/Application.php
index 6c75a1912a8..deea0967521 100644
--- a/apps/encryption/lib/AppInfo/Application.php
+++ b/apps/encryption/lib/AppInfo/Application.php
@@ -28,7 +28,6 @@
namespace OCA\Encryption\AppInfo;
-
use OC\Files\View;
use OCA\Encryption\Controller\RecoveryController;
use OCA\Encryption\Controller\SettingsController;
diff --git a/apps/encryption/lib/Command/DisableMasterKey.php b/apps/encryption/lib/Command/DisableMasterKey.php
index 2054cf953f7..18bf0b3903d 100644
--- a/apps/encryption/lib/Command/DisableMasterKey.php
+++ b/apps/encryption/lib/Command/DisableMasterKey.php
@@ -23,7 +23,6 @@
namespace OCA\Encryption\Command;
-
use OCA\Encryption\Util;
use OCP\IConfig;
use Symfony\Component\Console\Command\Command;
diff --git a/apps/encryption/lib/Command/EnableMasterKey.php b/apps/encryption/lib/Command/EnableMasterKey.php
index fe011abe138..d1148c88ccd 100644
--- a/apps/encryption/lib/Command/EnableMasterKey.php
+++ b/apps/encryption/lib/Command/EnableMasterKey.php
@@ -22,7 +22,6 @@
namespace OCA\Encryption\Command;
-
use OCA\Encryption\Util;
use OCP\IConfig;
use Symfony\Component\Console\Command\Command;
diff --git a/apps/encryption/lib/Command/RecoverUser.php b/apps/encryption/lib/Command/RecoverUser.php
index fee9195cf1e..9d98b38de47 100644
--- a/apps/encryption/lib/Command/RecoverUser.php
+++ b/apps/encryption/lib/Command/RecoverUser.php
@@ -23,7 +23,6 @@
namespace OCA\Encryption\Command;
-
use OCA\Encryption\Util;
use OCP\IConfig;
use OCP\IUserManager;
diff --git a/apps/encryption/lib/Controller/RecoveryController.php b/apps/encryption/lib/Controller/RecoveryController.php
index 3d96214bdc9..5cc5456844b 100644
--- a/apps/encryption/lib/Controller/RecoveryController.php
+++ b/apps/encryption/lib/Controller/RecoveryController.php
@@ -25,7 +25,6 @@
namespace OCA\Encryption\Controller;
-
use OCA\Encryption\Recovery;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
diff --git a/apps/encryption/lib/Controller/StatusController.php b/apps/encryption/lib/Controller/StatusController.php
index d5a60460229..fdd6de78e70 100644
--- a/apps/encryption/lib/Controller/StatusController.php
+++ b/apps/encryption/lib/Controller/StatusController.php
@@ -25,7 +25,6 @@
namespace OCA\Encryption\Controller;
-
use OCA\Encryption\Session;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\DataResponse;
diff --git a/apps/encryption/lib/Crypto/Crypt.php b/apps/encryption/lib/Crypto/Crypt.php
index 45319302bbf..acf19f5eb26 100644
--- a/apps/encryption/lib/Crypto/Crypt.php
+++ b/apps/encryption/lib/Crypto/Crypt.php
@@ -29,7 +29,6 @@
namespace OCA\Encryption\Crypto;
-
use OC\Encryption\Exceptions\DecryptionFailedException;
use OC\Encryption\Exceptions\EncryptionFailedException;
use OCA\Encryption\Exceptions\MultiKeyDecryptException;
diff --git a/apps/encryption/lib/Crypto/DecryptAll.php b/apps/encryption/lib/Crypto/DecryptAll.php
index 564f1d49888..1bb0dd0bc42 100644
--- a/apps/encryption/lib/Crypto/DecryptAll.php
+++ b/apps/encryption/lib/Crypto/DecryptAll.php
@@ -22,7 +22,6 @@
namespace OCA\Encryption\Crypto;
-
use OCA\Encryption\KeyManager;
use OCA\Encryption\Session;
use OCA\Encryption\Util;
diff --git a/apps/encryption/lib/Crypto/Encryption.php b/apps/encryption/lib/Crypto/Encryption.php
index 421e5f02ee6..f976a0815db 100644
--- a/apps/encryption/lib/Crypto/Encryption.php
+++ b/apps/encryption/lib/Crypto/Encryption.php
@@ -31,7 +31,6 @@
namespace OCA\Encryption\Crypto;
-
use OC\Encryption\Exceptions\DecryptionFailedException;
use OC\Files\Cache\Scanner;
use OC\Files\View;
diff --git a/apps/encryption/lib/HookManager.php b/apps/encryption/lib/HookManager.php
index 261247f336e..a40f56fa373 100644
--- a/apps/encryption/lib/HookManager.php
+++ b/apps/encryption/lib/HookManager.php
@@ -23,7 +23,6 @@
namespace OCA\Encryption;
-
use OCA\Encryption\Hooks\Contracts\IHook;
class HookManager {
diff --git a/apps/encryption/lib/Hooks/Contracts/IHook.php b/apps/encryption/lib/Hooks/Contracts/IHook.php
index 573a6b10595..02d26c4dea2 100644
--- a/apps/encryption/lib/Hooks/Contracts/IHook.php
+++ b/apps/encryption/lib/Hooks/Contracts/IHook.php
@@ -22,7 +22,6 @@
namespace OCA\Encryption\Hooks\Contracts;
-
interface IHook {
/**
* Connects Hooks
diff --git a/apps/encryption/lib/Hooks/UserHooks.php b/apps/encryption/lib/Hooks/UserHooks.php
index 209909dd097..16655dfe689 100644
--- a/apps/encryption/lib/Hooks/UserHooks.php
+++ b/apps/encryption/lib/Hooks/UserHooks.php
@@ -28,7 +28,6 @@
namespace OCA\Encryption\Hooks;
-
use OC\Files\Filesystem;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Hooks\Contracts\IHook;
diff --git a/apps/encryption/lib/Migration/SetMasterKeyStatus.php b/apps/encryption/lib/Migration/SetMasterKeyStatus.php
index 49384be3328..ade393cede1 100644
--- a/apps/encryption/lib/Migration/SetMasterKeyStatus.php
+++ b/apps/encryption/lib/Migration/SetMasterKeyStatus.php
@@ -23,7 +23,6 @@
namespace OCA\Encryption\Migration;
-
use OCP\IConfig;
use OCP\Migration\IOutput;
use OCP\Migration\IRepairStep;
diff --git a/apps/encryption/lib/Recovery.php b/apps/encryption/lib/Recovery.php
index 1feb5759586..657d41b61dd 100644
--- a/apps/encryption/lib/Recovery.php
+++ b/apps/encryption/lib/Recovery.php
@@ -27,7 +27,6 @@
namespace OCA\Encryption;
-
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCP\Encryption\IFile;
diff --git a/apps/encryption/lib/Settings/Personal.php b/apps/encryption/lib/Settings/Personal.php
index 90d54155c27..7ecf457e641 100644
--- a/apps/encryption/lib/Settings/Personal.php
+++ b/apps/encryption/lib/Settings/Personal.php
@@ -23,7 +23,6 @@
namespace OCA\Encryption\Settings;
-
use OCA\Encryption\Session;
use OCA\Encryption\Util;
use OCP\AppFramework\Http\TemplateResponse;
diff --git a/apps/encryption/lib/Users/Setup.php b/apps/encryption/lib/Users/Setup.php
index b9fc7aea4d9..549c7222d2e 100644
--- a/apps/encryption/lib/Users/Setup.php
+++ b/apps/encryption/lib/Users/Setup.php
@@ -25,7 +25,6 @@
namespace OCA\Encryption\Users;
-
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;
use OCP\ILogger;
diff --git a/apps/encryption/lib/Util.php b/apps/encryption/lib/Util.php
index 6b3ba80481b..681f025417b 100644
--- a/apps/encryption/lib/Util.php
+++ b/apps/encryption/lib/Util.php
@@ -26,7 +26,6 @@
namespace OCA\Encryption;
-
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCP\IConfig;
diff --git a/apps/encryption/tests/Command/TestEnableMasterKey.php b/apps/encryption/tests/Command/TestEnableMasterKey.php
index 3d8831bd7fb..f8cbd790adb 100644
--- a/apps/encryption/tests/Command/TestEnableMasterKey.php
+++ b/apps/encryption/tests/Command/TestEnableMasterKey.php
@@ -25,7 +25,6 @@
namespace OCA\Encryption\Tests\Command;
-
use OCA\Encryption\Command\EnableMasterKey;
use OCA\Encryption\Util;
use OCP\IConfig;
diff --git a/apps/encryption/tests/Controller/RecoveryControllerTest.php b/apps/encryption/tests/Controller/RecoveryControllerTest.php
index 3c8b239631e..5f69f11d2f7 100644
--- a/apps/encryption/tests/Controller/RecoveryControllerTest.php
+++ b/apps/encryption/tests/Controller/RecoveryControllerTest.php
@@ -26,7 +26,6 @@
namespace OCA\Encryption\Tests\Controller;
-
use OCA\Encryption\Controller\RecoveryController;
use OCA\Encryption\Recovery;
use OCP\AppFramework\Http;
diff --git a/apps/encryption/tests/Controller/StatusControllerTest.php b/apps/encryption/tests/Controller/StatusControllerTest.php
index d9db99989d5..1f5f02a2920 100644
--- a/apps/encryption/tests/Controller/StatusControllerTest.php
+++ b/apps/encryption/tests/Controller/StatusControllerTest.php
@@ -27,7 +27,6 @@
namespace OCA\Encryption\Tests\Controller;
-
use OCA\Encryption\Controller\StatusController;
use OCA\Encryption\Session;
use OCP\Encryption\IManager;
diff --git a/apps/encryption/tests/Crypto/CryptTest.php b/apps/encryption/tests/Crypto/CryptTest.php
index 43704c95d55..d222d94c16c 100644
--- a/apps/encryption/tests/Crypto/CryptTest.php
+++ b/apps/encryption/tests/Crypto/CryptTest.php
@@ -27,7 +27,6 @@
namespace OCA\Encryption\Tests\Crypto;
-
use OCA\Encryption\Crypto\Crypt;
use OCP\IConfig;
use OCP\IL10N;
diff --git a/apps/encryption/tests/Crypto/DecryptAllTest.php b/apps/encryption/tests/Crypto/DecryptAllTest.php
index f84892a7c91..be980149145 100644
--- a/apps/encryption/tests/Crypto/DecryptAllTest.php
+++ b/apps/encryption/tests/Crypto/DecryptAllTest.php
@@ -25,7 +25,6 @@
namespace OCA\Encryption\Tests\Crypto;
-
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Crypto\DecryptAll;
use OCA\Encryption\KeyManager;
diff --git a/apps/encryption/tests/Crypto/EncryptAllTest.php b/apps/encryption/tests/Crypto/EncryptAllTest.php
index 1a409e6508e..7f67f701b50 100644
--- a/apps/encryption/tests/Crypto/EncryptAllTest.php
+++ b/apps/encryption/tests/Crypto/EncryptAllTest.php
@@ -27,7 +27,6 @@
namespace OCA\Encryption\Tests\Crypto;
-
use OC\Files\View;
use OCA\Encryption\Crypto\EncryptAll;
use OCA\Encryption\KeyManager;
diff --git a/apps/encryption/tests/HookManagerTest.php b/apps/encryption/tests/HookManagerTest.php
index b41cdf1720c..c49938f4f3f 100644
--- a/apps/encryption/tests/HookManagerTest.php
+++ b/apps/encryption/tests/HookManagerTest.php
@@ -25,7 +25,6 @@
namespace OCA\Encryption\Tests;
-
use OCA\Encryption\HookManager;
use OCA\Encryption\Hooks\Contracts\IHook;
use OCP\IConfig;
diff --git a/apps/encryption/tests/Hooks/UserHooksTest.php b/apps/encryption/tests/Hooks/UserHooksTest.php
index 3cfeb2362ac..c676acb1e90 100644
--- a/apps/encryption/tests/Hooks/UserHooksTest.php
+++ b/apps/encryption/tests/Hooks/UserHooksTest.php
@@ -28,7 +28,6 @@
namespace OCA\Encryption\Tests\Hooks;
-
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Hooks\UserHooks;
use OCA\Encryption\KeyManager;
diff --git a/apps/encryption/tests/KeyManagerTest.php b/apps/encryption/tests/KeyManagerTest.php
index 2696698eabc..69f238d5ef7 100644
--- a/apps/encryption/tests/KeyManagerTest.php
+++ b/apps/encryption/tests/KeyManagerTest.php
@@ -31,7 +31,6 @@
namespace OCA\Encryption\Tests;
-
use OC\Files\FileInfo;
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
diff --git a/apps/encryption/tests/RecoveryTest.php b/apps/encryption/tests/RecoveryTest.php
index ce5c1f006a6..5139e492f26 100644
--- a/apps/encryption/tests/RecoveryTest.php
+++ b/apps/encryption/tests/RecoveryTest.php
@@ -28,7 +28,6 @@
namespace OCA\Encryption\Tests;
-
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;
diff --git a/apps/encryption/tests/SessionTest.php b/apps/encryption/tests/SessionTest.php
index 4b5cd9f0cb5..279111e3c3b 100644
--- a/apps/encryption/tests/SessionTest.php
+++ b/apps/encryption/tests/SessionTest.php
@@ -27,7 +27,6 @@
namespace OCA\Encryption\Tests;
-
use OCA\Encryption\Session;
use OCP\ISession;
use Test\TestCase;
diff --git a/apps/encryption/tests/Users/SetupTest.php b/apps/encryption/tests/Users/SetupTest.php
index 44fb1b40bda..a580ca68e05 100644
--- a/apps/encryption/tests/Users/SetupTest.php
+++ b/apps/encryption/tests/Users/SetupTest.php
@@ -26,7 +26,6 @@
namespace OCA\Encryption\Tests\Users;
-
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;
use OCA\Encryption\Users\Setup;
diff --git a/apps/encryption/tests/UtilTest.php b/apps/encryption/tests/UtilTest.php
index 6f3aea38a9b..d433826cb76 100644
--- a/apps/encryption/tests/UtilTest.php
+++ b/apps/encryption/tests/UtilTest.php
@@ -28,7 +28,6 @@
namespace OCA\Encryption\Tests;
-
use OC\Files\View;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\Util;