diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 11:48:10 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-09 11:48:10 +0200 |
commit | 41b5e5923a44965e435d35d01b5009abb2dd5c97 (patch) | |
tree | 1d832f87ecbaa33c5ad6e09792e5ae5a0f760fe6 /apps/files_trashbin | |
parent | 813bdc1ce8a45039fa17aac12bd078466a0034d0 (diff) | |
download | nextcloud-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/files_trashbin')
5 files changed, 1 insertions, 5 deletions
diff --git a/apps/files_trashbin/lib/Events/MoveToTrashEvent.php b/apps/files_trashbin/lib/Events/MoveToTrashEvent.php index 31f67974d30..7d0b18fb0d8 100644 --- a/apps/files_trashbin/lib/Events/MoveToTrashEvent.php +++ b/apps/files_trashbin/lib/Events/MoveToTrashEvent.php @@ -25,7 +25,6 @@ namespace OCA\Files_Trashbin\Events; - use OCP\EventDispatcher\Event; use OCP\Files\Node; diff --git a/apps/files_trashbin/lib/Sabre/TrashFolder.php b/apps/files_trashbin/lib/Sabre/TrashFolder.php index f811d6e4119..ae654b7daed 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFolder.php +++ b/apps/files_trashbin/lib/Sabre/TrashFolder.php @@ -27,7 +27,6 @@ declare(strict_types=1); namespace OCA\Files_Trashbin\Sabre; - class TrashFolder extends AbstractTrashFolder { public function getName(): string { return $this->data->getName() . '.d' . $this->getLastModified(); diff --git a/apps/files_trashbin/lib/Sabre/TrashFolderFile.php b/apps/files_trashbin/lib/Sabre/TrashFolderFile.php index 0edd2ea9c74..63a032c8682 100644 --- a/apps/files_trashbin/lib/Sabre/TrashFolderFile.php +++ b/apps/files_trashbin/lib/Sabre/TrashFolderFile.php @@ -27,7 +27,6 @@ declare(strict_types=1); namespace OCA\Files_Trashbin\Sabre; - class TrashFolderFile extends AbstractTrashFile { public function get() { return $this->data->getStorage()->fopen($this->data->getInternalPath(), 'rb'); diff --git a/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php b/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php index dcd7d4fa35e..ae0076a5b0b 100644 --- a/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php +++ b/apps/files_trashbin/tests/BackgroundJob/ExpireTrashTest.php @@ -23,7 +23,7 @@ */ namespace OCA\Files_Trashbin\Tests\BackgroundJob; - + use OCA\Files_Trashbin\BackgroundJob\ExpireTrash; use OCP\BackgroundJob\IJobList; use OCP\IUserManager; diff --git a/apps/files_trashbin/tests/Command/CleanUpTest.php b/apps/files_trashbin/tests/Command/CleanUpTest.php index 4fa4287aae1..71391f5288d 100644 --- a/apps/files_trashbin/tests/Command/CleanUpTest.php +++ b/apps/files_trashbin/tests/Command/CleanUpTest.php @@ -26,7 +26,6 @@ namespace OCA\Files_Trashbin\Tests\Command; - use OC\User\Manager; use OCA\Files_Trashbin\Command\CleanUp; use OCP\Files\IRootFolder; |