summaryrefslogtreecommitdiffstats
path: root/lib/public/Group
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/Group
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/Group')
-rw-r--r--lib/public/Group/Backend/IGetDisplayNameBackend.php1
-rw-r--r--lib/public/Group/Backend/ISetDisplayNameBackend.php1
-rw-r--r--lib/public/Group/Events/BeforeGroupCreatedEvent.php1
-rw-r--r--lib/public/Group/Events/BeforeGroupDeletedEvent.php1
-rw-r--r--lib/public/Group/Events/BeforeUserAddedEvent.php1
-rw-r--r--lib/public/Group/Events/BeforeUserRemovedEvent.php1
-rw-r--r--lib/public/Group/Events/GroupCreatedEvent.php1
-rw-r--r--lib/public/Group/Events/GroupDeletedEvent.php1
-rw-r--r--lib/public/Group/Events/UserAddedEvent.php1
-rw-r--r--lib/public/Group/Events/UserRemovedEvent.php1
10 files changed, 0 insertions, 10 deletions
diff --git a/lib/public/Group/Backend/IGetDisplayNameBackend.php b/lib/public/Group/Backend/IGetDisplayNameBackend.php
index 4a27a29ff7f..13e9ca204f2 100644
--- a/lib/public/Group/Backend/IGetDisplayNameBackend.php
+++ b/lib/public/Group/Backend/IGetDisplayNameBackend.php
@@ -38,5 +38,4 @@ interface IGetDisplayNameBackend {
* @since 17.0.0
*/
public function getDisplayName(string $gid): string;
-
}
diff --git a/lib/public/Group/Backend/ISetDisplayNameBackend.php b/lib/public/Group/Backend/ISetDisplayNameBackend.php
index f29d6e5704e..244fa5c351c 100644
--- a/lib/public/Group/Backend/ISetDisplayNameBackend.php
+++ b/lib/public/Group/Backend/ISetDisplayNameBackend.php
@@ -38,5 +38,4 @@ interface ISetDisplayNameBackend {
* @since 18.0.0
*/
public function setDisplayName(string $gid, string $displayName): bool;
-
}
diff --git a/lib/public/Group/Events/BeforeGroupCreatedEvent.php b/lib/public/Group/Events/BeforeGroupCreatedEvent.php
index 3385d1a9397..5ed5a5311e5 100644
--- a/lib/public/Group/Events/BeforeGroupCreatedEvent.php
+++ b/lib/public/Group/Events/BeforeGroupCreatedEvent.php
@@ -51,5 +51,4 @@ class BeforeGroupCreatedEvent extends Event {
public function getName(): string {
return $this->name;
}
-
}
diff --git a/lib/public/Group/Events/BeforeGroupDeletedEvent.php b/lib/public/Group/Events/BeforeGroupDeletedEvent.php
index 8cfe28cf9d9..af44d4c054e 100644
--- a/lib/public/Group/Events/BeforeGroupDeletedEvent.php
+++ b/lib/public/Group/Events/BeforeGroupDeletedEvent.php
@@ -52,5 +52,4 @@ class BeforeGroupDeletedEvent extends Event {
public function getGroup(): IGroup {
return $this->group;
}
-
}
diff --git a/lib/public/Group/Events/BeforeUserAddedEvent.php b/lib/public/Group/Events/BeforeUserAddedEvent.php
index 2e6d6d58d7a..c8ebc24e3d9 100644
--- a/lib/public/Group/Events/BeforeUserAddedEvent.php
+++ b/lib/public/Group/Events/BeforeUserAddedEvent.php
@@ -65,5 +65,4 @@ class BeforeUserAddedEvent extends Event {
public function getUser(): IUser {
return $this->user;
}
-
}
diff --git a/lib/public/Group/Events/BeforeUserRemovedEvent.php b/lib/public/Group/Events/BeforeUserRemovedEvent.php
index 570297e46f8..cc657f952e6 100644
--- a/lib/public/Group/Events/BeforeUserRemovedEvent.php
+++ b/lib/public/Group/Events/BeforeUserRemovedEvent.php
@@ -65,5 +65,4 @@ class BeforeUserRemovedEvent extends Event {
public function getUser(): IUser {
return $this->user;
}
-
}
diff --git a/lib/public/Group/Events/GroupCreatedEvent.php b/lib/public/Group/Events/GroupCreatedEvent.php
index 3f19c1fec27..ac9af26307e 100644
--- a/lib/public/Group/Events/GroupCreatedEvent.php
+++ b/lib/public/Group/Events/GroupCreatedEvent.php
@@ -52,5 +52,4 @@ class GroupCreatedEvent extends Event {
public function getGroup(): IGroup {
return $this->group;
}
-
}
diff --git a/lib/public/Group/Events/GroupDeletedEvent.php b/lib/public/Group/Events/GroupDeletedEvent.php
index a4b921fc18b..267eb806264 100644
--- a/lib/public/Group/Events/GroupDeletedEvent.php
+++ b/lib/public/Group/Events/GroupDeletedEvent.php
@@ -52,5 +52,4 @@ class GroupDeletedEvent extends Event {
public function getGroup(): IGroup {
return $this->group;
}
-
}
diff --git a/lib/public/Group/Events/UserAddedEvent.php b/lib/public/Group/Events/UserAddedEvent.php
index 7f487844943..e88487a02cf 100644
--- a/lib/public/Group/Events/UserAddedEvent.php
+++ b/lib/public/Group/Events/UserAddedEvent.php
@@ -65,5 +65,4 @@ class UserAddedEvent extends Event {
public function getUser(): IUser {
return $this->user;
}
-
}
diff --git a/lib/public/Group/Events/UserRemovedEvent.php b/lib/public/Group/Events/UserRemovedEvent.php
index e66be62fe6d..953bb5f220f 100644
--- a/lib/public/Group/Events/UserRemovedEvent.php
+++ b/lib/public/Group/Events/UserRemovedEvent.php
@@ -65,5 +65,4 @@ class UserRemovedEvent extends Event {
public function getUser(): IUser {
return $this->user;
}
-
}