diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-09 13:44:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 13:44:39 +0200 |
commit | 19e97e86c69ab128191439d6a17dacb5a630cf98 (patch) | |
tree | 95b913a59a6512e54ef848aa03095cdfdc7a92c5 /apps/files_trashbin | |
parent | 813bdc1ce8a45039fa17aac12bd078466a0034d0 (diff) | |
parent | 2a529e453a7de7f51ab72ac48f947fa9d2afd18d (diff) | |
download | nextcloud-server-19e97e86c69ab128191439d6a17dacb5a630cf98.tar.gz nextcloud-server-19e97e86c69ab128191439d6a17dacb5a630cf98.zip |
Merge pull request #20379 from nextcloud/techdebt/blank-lines
Use one blank line after the opening tag and namespace declaration
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; |