diff options
Diffstat (limited to 'apps/dav')
32 files changed, 6 insertions, 27 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; diff --git a/apps/dav/tests/unit/Avatars/AvatarHomeTest.php b/apps/dav/tests/unit/Avatars/AvatarHomeTest.php index 38be58f8bee..59edfed267e 100644 --- a/apps/dav/tests/unit/Avatars/AvatarHomeTest.php +++ b/apps/dav/tests/unit/Avatars/AvatarHomeTest.php @@ -24,7 +24,6 @@ namespace OCA\DAV\Tests\Unit\Avatars; - use OCA\DAV\Avatars\AvatarHome; use OCA\DAV\Avatars\AvatarNode; use OCP\IAvatar; diff --git a/apps/dav/tests/unit/Avatars/AvatarNodeTest.php b/apps/dav/tests/unit/Avatars/AvatarNodeTest.php index b8524a96470..d93e8422884 100644 --- a/apps/dav/tests/unit/Avatars/AvatarNodeTest.php +++ b/apps/dav/tests/unit/Avatars/AvatarNodeTest.php @@ -22,7 +22,6 @@ namespace OCA\DAV\Tests\Unit\Avatars; - use OCA\DAV\Avatars\AvatarNode; use OCP\IAvatar; use Test\TestCase; diff --git a/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php b/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php index 67c96259c60..aa4f4e8443c 100644 --- a/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php +++ b/apps/dav/tests/unit/CardDAV/AddressBookImplTest.php @@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\CardDAV; - use OCA\DAV\CardDAV\AddressBook; use OCA\DAV\CardDAV\AddressBookImpl; use OCA\DAV\CardDAV\CardDavBackend; diff --git a/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php b/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php index a48f7100313..0f16259d337 100644 --- a/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php +++ b/apps/dav/tests/unit/CardDAV/ImageExportPluginTest.php @@ -24,7 +24,6 @@ namespace OCA\DAV\Tests\unit\CardDAV; - use OCA\DAV\CardDAV\AddressBook; use OCA\DAV\CardDAV\ImageExportPlugin; use OCA\DAV\CardDAV\PhotoCache; diff --git a/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php b/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php index 7de2ea2f56a..e0abbf7857d 100644 --- a/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php +++ b/apps/dav/tests/unit/CardDAV/Sharing/PluginTest.php @@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\CardDAV\Sharing; - use OCA\DAV\Connector\Sabre\Auth; use OCA\DAV\DAV\Sharing\IShareable; use OCA\DAV\DAV\Sharing\Plugin; diff --git a/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php b/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php index c9b02ff8694..ce830e3f699 100644 --- a/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php +++ b/apps/dav/tests/unit/Command/RemoveInvalidSharesTest.php @@ -22,7 +22,6 @@ namespace OCA\DAV\Tests\Unit\Command; - use OCA\DAV\Command\RemoveInvalidShares; use OCA\DAV\Connector\Sabre\Principal; use OCP\Migration\IOutput; diff --git a/apps/dav/tests/unit/Connector/Sabre/NodeTest.php b/apps/dav/tests/unit/Connector/Sabre/NodeTest.php index 00d2ff8245e..4244792c46a 100644 --- a/apps/dav/tests/unit/Connector/Sabre/NodeTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/NodeTest.php @@ -27,6 +27,7 @@ */ namespace OCA\DAV\Tests\unit\Connector\Sabre; + use OC\Files\FileInfo; use OC\Files\View; use OCP\Files\Mount\IMountPoint; diff --git a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php index c047c727627..870f3709a58 100644 --- a/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/ObjectTreeTest.php @@ -28,7 +28,6 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre; - use OC\Files\FileInfo; use OC\Files\Filesystem; use OC\Files\Mount\Manager; diff --git a/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php index 6d1763dc87a..194f9375f68 100644 --- a/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/QuotaPluginTest.php @@ -28,6 +28,7 @@ */ namespace OCA\DAV\Tests\unit\Connector\Sabre; + use OC\Files\View; use OCA\DAV\Connector\Sabre\QuotaPlugin; use OCP\Files\FileInfo; diff --git a/apps/dav/tests/unit/DAV/Sharing/PluginTest.php b/apps/dav/tests/unit/DAV/Sharing/PluginTest.php index 9d8d2d925f7..07a9e2ce9f5 100644 --- a/apps/dav/tests/unit/DAV/Sharing/PluginTest.php +++ b/apps/dav/tests/unit/DAV/Sharing/PluginTest.php @@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\DAV\Sharing; - use OCA\DAV\Connector\Sabre\Auth; use OCA\DAV\DAV\Sharing\IShareable; use OCA\DAV\DAV\Sharing\Plugin; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php b/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php index efdf15dac34..c0b8c92964f 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagNodeTest.php @@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\SystemTag; - use OC\SystemTag\SystemTag; use OCP\IUser; use OCP\SystemTag\ISystemTag; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php b/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php index 938549c6646..faae3626fb3 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagsByIdCollectionTest.php @@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\SystemTag; - use OC\SystemTag\SystemTag; use OCP\IGroupManager; use OCP\IUser; diff --git a/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php b/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php index d0023dbe91c..58779c0dd46 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagsObjectMappingCollectionTest.php @@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\SystemTag; - use OC\SystemTag\SystemTag; use OCP\IUser; use OCP\SystemTag\ISystemTagManager; diff --git a/apps/dav/tests/unit/Upload/ChunkingPluginTest.php b/apps/dav/tests/unit/Upload/ChunkingPluginTest.php index 98337bbfa65..f4f91c0e760 100644 --- a/apps/dav/tests/unit/Upload/ChunkingPluginTest.php +++ b/apps/dav/tests/unit/Upload/ChunkingPluginTest.php @@ -24,7 +24,6 @@ namespace OCA\DAV\Tests\unit\Upload; - use OCA\DAV\Connector\Sabre\Directory; use OCA\DAV\Upload\ChunkingPlugin; use OCA\DAV\Upload\FutureFile; |