diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-24 11:47:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-24 11:47:37 +0200 |
commit | 3d671cc536b1b472c746fd4ea8f60135f4935a44 (patch) | |
tree | 928a0fd4c13d609f5cadf32fd3271c465830a05a /apps/dav/tests | |
parent | 8a1d3c7e877f143d211af259d08737c0d9aa8cfe (diff) | |
parent | c54a59d51eb924e77df6f6d2bb79ea466d169221 (diff) | |
download | nextcloud-server-3d671cc536b1b472c746fd4ea8f60135f4935a44.tar.gz nextcloud-server-3d671cc536b1b472c746fd4ea8f60135f4935a44.zip |
Merge pull request #4443 from nextcloud/cleanup-unused-imports
Remove unused use statements
Diffstat (limited to 'apps/dav/tests')
11 files changed, 1 insertions, 19 deletions
diff --git a/apps/dav/tests/unit/CardDAV/ConverterTest.php b/apps/dav/tests/unit/CardDAV/ConverterTest.php index 448d80f3070..39853cfd5c8 100644 --- a/apps/dav/tests/unit/CardDAV/ConverterTest.php +++ b/apps/dav/tests/unit/CardDAV/ConverterTest.php @@ -29,7 +29,6 @@ use OCA\DAV\CardDAV\Converter; use OCP\IDBConnection; use OCP\IImage; use OCP\IUser; -use OpenCloud\ObjectStore\Resource\Account; use PHPUnit_Framework_MockObject_MockObject; use Symfony\Component\EventDispatcher\EventDispatcher; use Test\TestCase; diff --git a/apps/dav/tests/unit/Comments/CommentsNodeTest.php b/apps/dav/tests/unit/Comments/CommentsNodeTest.php index 94eaea01d56..226aa57598c 100644 --- a/apps/dav/tests/unit/Comments/CommentsNodeTest.php +++ b/apps/dav/tests/unit/Comments/CommentsNodeTest.php @@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\Comments; use OCA\DAV\Comments\CommentNode; -use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; use OCP\Comments\MessageTooLongException; diff --git a/apps/dav/tests/unit/Comments/CommentsPluginTest.php b/apps/dav/tests/unit/Comments/CommentsPluginTest.php index bb512465a89..265afad96c3 100644 --- a/apps/dav/tests/unit/Comments/CommentsPluginTest.php +++ b/apps/dav/tests/unit/Comments/CommentsPluginTest.php @@ -28,7 +28,6 @@ namespace OCA\DAV\Tests\unit\Comments; use OC\Comments\Comment; use OCA\DAV\Comments\CommentsPlugin as CommentsPluginImplementation; use OCP\Comments\IComment; -use Sabre\DAV\Exception\NotFound; class CommentsPluginTest extends \Test\TestCase { /** @var \Sabre\DAV\Server */ diff --git a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php index 225955beb07..8088ee6dc4d 100644 --- a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php @@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre; use OCA\DAV\Connector\Sabre\Exception\InvalidPath; use OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin as PluginToTest; use OC\Log; -use OCP\ILogger; use PHPUnit_Framework_MockObject_MockObject; use Sabre\DAV\Exception\NotFound; use Sabre\DAV\Server; diff --git a/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php index 54e5283c7c1..4d8a87b093f 100644 --- a/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php @@ -28,7 +28,6 @@ use OCA\DAV\Connector\Sabre\FilesReportPlugin as FilesReportPluginImplementation use OCP\IPreview; use OCP\ITagManager; use OCP\IUserSession; -use Sabre\DAV\Exception\NotFound; use OCP\SystemTag\ISystemTagObjectMapper; use OC\Files\View; use OCP\Files\Folder; diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php index 240a51d01f2..7468e981020 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/DeleteTest.php @@ -22,9 +22,7 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; -use OC\Connector\Sabre\Exception\FileLocked; use OCP\AppFramework\Http; -use OCP\Lock\ILockingProvider; /** * Class DeleteTest diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php index 0be2bc5ef79..16cd6ab9c2d 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/ExceptionPlugin.php @@ -24,8 +24,6 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; -use Sabre\DAV\Exception; - class ExceptionPlugin extends \OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin { /** * @var \Exception[] diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php index 00e012197d9..3f3bf16a422 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/PartFileInRootUploadTest.php @@ -24,9 +24,6 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; -use OC\Files\View; -use Test\Traits\EncryptionTrait; - /** * Class PartFileInRootUploadTest * diff --git a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTest.php b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTest.php index 10cd73baf63..63bd3cf19cc 100644 --- a/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTest.php +++ b/apps/dav/tests/unit/Connector/Sabre/RequestTest/RequestTest.php @@ -28,11 +28,7 @@ namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; use OCA\DAV\Connector\Sabre\Server; use OCA\DAV\Connector\Sabre\ServerFactory; -use OC\Files\Mount\MountPoint; -use OC\Files\Storage\StorageFactory; -use OC\Files\Storage\Temporary; use OC\Files\View; -use OCP\IUser; use Sabre\HTTP\Request; use Test\TestCase; use Test\Traits\MountProviderTrait; diff --git a/apps/dav/tests/unit/DAV/HookManagerTest.php b/apps/dav/tests/unit/DAV/HookManagerTest.php index 375bda9f3c2..a78ffea5af4 100644 --- a/apps/dav/tests/unit/DAV/HookManagerTest.php +++ b/apps/dav/tests/unit/DAV/HookManagerTest.php @@ -23,7 +23,6 @@ namespace OCA\DAV\Tests\unit\DAV; -use OCA\DAV\CalDAV\BirthdayService; use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CardDAV\CardDavBackend; use OCA\DAV\CardDAV\SyncService; @@ -31,7 +30,7 @@ use OCA\DAV\HookManager; use OCP\IL10N; use OCP\IUser; use OCP\IUserManager; -use Symfony\Component\EventDispatcher\EventDispatcherInterface; +use Symfony\Component\EventDispatcher\EventDispatcher; use Test\TestCase; class HookManagerTest extends TestCase { diff --git a/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php b/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php index c52b8fb1cf3..1831210546d 100644 --- a/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php +++ b/apps/dav/tests/unit/SystemTag/SystemTagMappingNodeTest.php @@ -24,7 +24,6 @@ namespace OCA\DAV\Tests\unit\SystemTag; -use Sabre\DAV\Exception\NotFound; use OC\SystemTag\SystemTag; use OCP\SystemTag\TagNotFoundException; use OCP\SystemTag\ISystemTag; |