aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Events
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/Files/Events
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/Files/Events')
-rw-r--r--lib/public/Files/Events/BeforeFileScannedEvent.php1
-rw-r--r--lib/public/Files/Events/BeforeFolderScannedEvent.php1
-rw-r--r--lib/public/Files/Events/FileCacheUpdated.php1
-rw-r--r--lib/public/Files/Events/FileScannedEvent.php1
-rw-r--r--lib/public/Files/Events/FolderScannedEvent.php1
-rw-r--r--lib/public/Files/Events/NodeAddedToCache.php1
-rw-r--r--lib/public/Files/Events/NodeRemovedFromCache.php1
7 files changed, 0 insertions, 7 deletions
diff --git a/lib/public/Files/Events/BeforeFileScannedEvent.php b/lib/public/Files/Events/BeforeFileScannedEvent.php
index fbe228d7310..c233c9e4a0e 100644
--- a/lib/public/Files/Events/BeforeFileScannedEvent.php
+++ b/lib/public/Files/Events/BeforeFileScannedEvent.php
@@ -53,5 +53,4 @@ class BeforeFileScannedEvent extends Event {
public function getAbsolutePath(): string {
return $this->absolutePath;
}
-
}
diff --git a/lib/public/Files/Events/BeforeFolderScannedEvent.php b/lib/public/Files/Events/BeforeFolderScannedEvent.php
index 354b481cb07..5c8c05e9a21 100644
--- a/lib/public/Files/Events/BeforeFolderScannedEvent.php
+++ b/lib/public/Files/Events/BeforeFolderScannedEvent.php
@@ -53,5 +53,4 @@ class BeforeFolderScannedEvent extends Event {
public function getAbsolutePath(): string {
return $this->absolutePath;
}
-
}
diff --git a/lib/public/Files/Events/FileCacheUpdated.php b/lib/public/Files/Events/FileCacheUpdated.php
index 1bb8a3b39ab..f370aec1cf2 100644
--- a/lib/public/Files/Events/FileCacheUpdated.php
+++ b/lib/public/Files/Events/FileCacheUpdated.php
@@ -67,5 +67,4 @@ class FileCacheUpdated extends Event {
public function getPath(): string {
return $this->path;
}
-
}
diff --git a/lib/public/Files/Events/FileScannedEvent.php b/lib/public/Files/Events/FileScannedEvent.php
index fe0817130f7..69c0dd3c538 100644
--- a/lib/public/Files/Events/FileScannedEvent.php
+++ b/lib/public/Files/Events/FileScannedEvent.php
@@ -53,5 +53,4 @@ class FileScannedEvent extends Event {
public function getAbsolutePath(): string {
return $this->absolutePath;
}
-
}
diff --git a/lib/public/Files/Events/FolderScannedEvent.php b/lib/public/Files/Events/FolderScannedEvent.php
index d5dc0c97b55..642d14b4499 100644
--- a/lib/public/Files/Events/FolderScannedEvent.php
+++ b/lib/public/Files/Events/FolderScannedEvent.php
@@ -53,5 +53,4 @@ class FolderScannedEvent extends Event {
public function getAbsolutePath(): string {
return $this->absolutePath;
}
-
}
diff --git a/lib/public/Files/Events/NodeAddedToCache.php b/lib/public/Files/Events/NodeAddedToCache.php
index 631de66f9ef..f1ffd755f68 100644
--- a/lib/public/Files/Events/NodeAddedToCache.php
+++ b/lib/public/Files/Events/NodeAddedToCache.php
@@ -67,5 +67,4 @@ class NodeAddedToCache extends Event {
public function getPath(): string {
return $this->path;
}
-
}
diff --git a/lib/public/Files/Events/NodeRemovedFromCache.php b/lib/public/Files/Events/NodeRemovedFromCache.php
index 1d09e10bf6d..0437bc001a7 100644
--- a/lib/public/Files/Events/NodeRemovedFromCache.php
+++ b/lib/public/Files/Events/NodeRemovedFromCache.php
@@ -67,5 +67,4 @@ class NodeRemovedFromCache extends Event {
public function getPath(): string {
return $this->path;
}
-
}