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/dav/lib | |
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/dav/lib')
18 files changed, 4 insertions, 15 deletions
diff --git a/apps/dav/lib/Avatars/AvatarHome.php b/apps/dav/lib/Avatars/AvatarHome.php index d2fbd3a9c2c..8ee43281b62 100644 --- a/apps/dav/lib/Avatars/AvatarHome.php +++ b/apps/dav/lib/Avatars/AvatarHome.php @@ -24,7 +24,6 @@ namespace OCA\DAV\Avatars; - use OCP\IAvatarManager; use Sabre\DAV\Exception\Forbidden; use Sabre\DAV\Exception\MethodNotAllowed; diff --git a/apps/dav/lib/Avatars/AvatarNode.php b/apps/dav/lib/Avatars/AvatarNode.php index ff5bc6212c7..af3486c4368 100644 --- a/apps/dav/lib/Avatars/AvatarNode.php +++ b/apps/dav/lib/Avatars/AvatarNode.php @@ -23,7 +23,6 @@ namespace OCA\DAV\Avatars; - use OCP\IAvatar; use Sabre\DAV\File; diff --git a/apps/dav/lib/CalDAV/Activity/Backend.php b/apps/dav/lib/CalDAV/Activity/Backend.php index cb9c546b82d..d0232cde1b1 100644 --- a/apps/dav/lib/CalDAV/Activity/Backend.php +++ b/apps/dav/lib/CalDAV/Activity/Backend.php @@ -25,7 +25,6 @@ namespace OCA\DAV\CalDAV\Activity; - use OCA\DAV\CalDAV\Activity\Provider\Calendar; use OCA\DAV\CalDAV\Activity\Provider\Event; use OCA\DAV\CalDAV\CalDavBackend; diff --git a/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php b/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php index cb040281a3b..c2c7ec5d34a 100644 --- a/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php +++ b/apps/dav/lib/CalDAV/Activity/Filter/Calendar.php @@ -24,7 +24,6 @@ namespace OCA\DAV\CalDAV\Activity\Filter; - use OCP\Activity\IFilter; use OCP\IL10N; use OCP\IURLGenerator; diff --git a/apps/dav/lib/CalDAV/Activity/Filter/Todo.php b/apps/dav/lib/CalDAV/Activity/Filter/Todo.php index 9694509cc62..d361ff389c4 100644 --- a/apps/dav/lib/CalDAV/Activity/Filter/Todo.php +++ b/apps/dav/lib/CalDAV/Activity/Filter/Todo.php @@ -23,7 +23,6 @@ namespace OCA\DAV\CalDAV\Activity\Filter; - use OCP\Activity\IFilter; use OCP\IL10N; use OCP\IURLGenerator; diff --git a/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php b/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php index 15c47c5471f..b9475535e4d 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/Calendar.php @@ -23,7 +23,6 @@ namespace OCA\DAV\CalDAV\Activity\Setting; - use OCP\Activity\ISetting; use OCP\IL10N; diff --git a/apps/dav/lib/CalDAV/Activity/Setting/Event.php b/apps/dav/lib/CalDAV/Activity/Setting/Event.php index bcb04f8e64a..1cd3fc3a051 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/Event.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/Event.php @@ -23,7 +23,6 @@ namespace OCA\DAV\CalDAV\Activity\Setting; - use OCP\Activity\ISetting; use OCP\IL10N; diff --git a/apps/dav/lib/CalDAV/Activity/Setting/Todo.php b/apps/dav/lib/CalDAV/Activity/Setting/Todo.php index fb6be4a9e38..2dfc85957c6 100644 --- a/apps/dav/lib/CalDAV/Activity/Setting/Todo.php +++ b/apps/dav/lib/CalDAV/Activity/Setting/Todo.php @@ -23,7 +23,6 @@ namespace OCA\DAV\CalDAV\Activity\Setting; - use OCP\Activity\ISetting; use OCP\IL10N; diff --git a/apps/dav/lib/CalDAV/CalendarObject.php b/apps/dav/lib/CalDAV/CalendarObject.php index 6aee57809fa..9a402d3bf2c 100644 --- a/apps/dav/lib/CalDAV/CalendarObject.php +++ b/apps/dav/lib/CalDAV/CalendarObject.php @@ -26,7 +26,6 @@ namespace OCA\DAV\CalDAV; - use OCP\IL10N; use Sabre\VObject\Component; use Sabre\VObject\Property; diff --git a/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php b/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php index 806d0f13a03..b15468e460d 100644 --- a/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php +++ b/apps/dav/lib/CalDAV/Integration/ICalendarProvider.php @@ -22,7 +22,6 @@ */ namespace OCA\DAV\CalDAV\Integration; - /** * Interface ICalendarProvider * diff --git a/apps/dav/lib/CalDAV/Principal/Collection.php b/apps/dav/lib/CalDAV/Principal/Collection.php index 80090def6a5..fe345d24801 100644 --- a/apps/dav/lib/CalDAV/Principal/Collection.php +++ b/apps/dav/lib/CalDAV/Principal/Collection.php @@ -23,7 +23,6 @@ namespace OCA\DAV\CalDAV\Principal; - /** * Class Collection * diff --git a/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php b/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php index b999cc71688..6542db23650 100644 --- a/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php +++ b/apps/dav/lib/CardDAV/Integration/IAddressBookProvider.php @@ -25,7 +25,6 @@ declare(strict_types=1); */ namespace OCA\DAV\CardDAV\Integration; - /** * @since 19.0.0 */ diff --git a/apps/dav/lib/CardDAV/SyncService.php b/apps/dav/lib/CardDAV/SyncService.php index 2180911b55c..d163565a7a2 100644 --- a/apps/dav/lib/CardDAV/SyncService.php +++ b/apps/dav/lib/CardDAV/SyncService.php @@ -202,7 +202,7 @@ class SyncService { $body = $this->buildSyncCollectionRequestBody($syncToken); $response = $client->request('REPORT', $addressBookUrl, $body, [ - 'Content-Type' => 'application/xml' + 'Content-Type' => 'application/xml' ]); return $this->parseMultiStatus($response['body']); diff --git a/apps/dav/lib/Comments/CommentNode.php b/apps/dav/lib/Comments/CommentNode.php index 0d42062951b..a8e4c2885b4 100644 --- a/apps/dav/lib/Comments/CommentNode.php +++ b/apps/dav/lib/Comments/CommentNode.php @@ -23,7 +23,6 @@ namespace OCA\DAV\Comments; - use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; use OCP\Comments\MessageTooLongException; diff --git a/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php b/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php index f068b62d5dd..9c68b065dbb 100644 --- a/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php +++ b/apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php @@ -25,6 +25,7 @@ */ namespace OCA\DAV\Connector\Sabre; + use Sabre\HTTP\RequestInterface; use Sabre\HTTP\ResponseInterface; diff --git a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php index 39bee3a6656..f6da755aaf7 100644 --- a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php +++ b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php @@ -27,6 +27,7 @@ */ namespace OCA\DAV\Connector\Sabre; + use OCA\DAV\Upload\FutureFile; use OCP\Files\StorageNotAvailableException; use Sabre\DAV\Exception\InsufficientStorage; diff --git a/apps/dav/lib/DAV/Sharing/IShareable.php b/apps/dav/lib/DAV/Sharing/IShareable.php index 8c40147e26c..7da6549ee4f 100644 --- a/apps/dav/lib/DAV/Sharing/IShareable.php +++ b/apps/dav/lib/DAV/Sharing/IShareable.php @@ -22,6 +22,7 @@ */ namespace OCA\DAV\DAV\Sharing; + use Sabre\DAV\INode; /** diff --git a/apps/dav/lib/Migration/Version1008Date20181105104826.php b/apps/dav/lib/Migration/Version1008Date20181105104826.php index 305497ea1ec..cc80c6552c4 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105104826.php +++ b/apps/dav/lib/Migration/Version1008Date20181105104826.php @@ -26,7 +26,6 @@ declare(strict_types=1); namespace OCA\DAV\Migration; - use Closure; use Doctrine\DBAL\Types\Type; use OCP\DB\ISchemaWrapper; |