summaryrefslogtreecommitdiffstats
path: root/lib/public/Encryption
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 14:19:56 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 14:19:56 +0200
commitcaff1023ea72bb2ea94130e18a2a6e2ccf819e5f (patch)
tree186d494c2aea5dea7255d3584ef5d595fc6e6194 /lib/public/Encryption
parentedf8ce32cffdb920e8171207b342abbd7f1fbe73 (diff)
downloadnextcloud-server-caff1023ea72bb2ea94130e18a2a6e2ccf819e5f.tar.gz
nextcloud-server-caff1023ea72bb2ea94130e18a2a6e2ccf819e5f.zip
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/Encryption')
-rw-r--r--lib/public/Encryption/Exceptions/GenericEncryptionException.php1
-rw-r--r--lib/public/Encryption/IEncryptionModule.php1
-rw-r--r--lib/public/Encryption/IFile.php1
-rw-r--r--lib/public/Encryption/IManager.php1
4 files changed, 0 insertions, 4 deletions
diff --git a/lib/public/Encryption/Exceptions/GenericEncryptionException.php b/lib/public/Encryption/Exceptions/GenericEncryptionException.php
index 2124e5effea..d19ff4b2724 100644
--- a/lib/public/Encryption/Exceptions/GenericEncryptionException.php
+++ b/lib/public/Encryption/Exceptions/GenericEncryptionException.php
@@ -49,5 +49,4 @@ class GenericEncryptionException extends HintException {
}
parent::__construct($message, $hint, $code, $previous);
}
-
}
diff --git a/lib/public/Encryption/IEncryptionModule.php b/lib/public/Encryption/IEncryptionModule.php
index 9646fb90e93..cd85b931a5c 100644
--- a/lib/public/Encryption/IEncryptionModule.php
+++ b/lib/public/Encryption/IEncryptionModule.php
@@ -193,5 +193,4 @@ interface IEncryptionModule {
* @return bool
*/
public function needDetailedAccessList();
-
}
diff --git a/lib/public/Encryption/IFile.php b/lib/public/Encryption/IFile.php
index f1da8f516b4..e01c7ec4cac 100644
--- a/lib/public/Encryption/IFile.php
+++ b/lib/public/Encryption/IFile.php
@@ -40,5 +40,4 @@ interface IFile {
* @since 8.1.0
*/
public function getAccessList($path);
-
}
diff --git a/lib/public/Encryption/IManager.php b/lib/public/Encryption/IManager.php
index bbac154ad4e..1d824ab6a62 100644
--- a/lib/public/Encryption/IManager.php
+++ b/lib/public/Encryption/IManager.php
@@ -97,5 +97,4 @@ interface IManager {
* @since 8.1.0
*/
public function setDefaultEncryptionModule($moduleId);
-
}