diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 14:19:56 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 14:19:56 +0200 |
commit | caff1023ea72bb2ea94130e18a2a6e2ccf819e5f (patch) | |
tree | 186d494c2aea5dea7255d3584ef5d595fc6e6194 /lib/public/Group/Events | |
parent | edf8ce32cffdb920e8171207b342abbd7f1fbe73 (diff) | |
download | nextcloud-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/Events')
-rw-r--r-- | lib/public/Group/Events/BeforeGroupCreatedEvent.php | 1 | ||||
-rw-r--r-- | lib/public/Group/Events/BeforeGroupDeletedEvent.php | 1 | ||||
-rw-r--r-- | lib/public/Group/Events/BeforeUserAddedEvent.php | 1 | ||||
-rw-r--r-- | lib/public/Group/Events/BeforeUserRemovedEvent.php | 1 | ||||
-rw-r--r-- | lib/public/Group/Events/GroupCreatedEvent.php | 1 | ||||
-rw-r--r-- | lib/public/Group/Events/GroupDeletedEvent.php | 1 | ||||
-rw-r--r-- | lib/public/Group/Events/UserAddedEvent.php | 1 | ||||
-rw-r--r-- | lib/public/Group/Events/UserRemovedEvent.php | 1 |
8 files changed, 0 insertions, 8 deletions
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; } - } |