Remove unused imports

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2020-03-25 22:08:08 +01:00
parent 3cf321fdfc
commit 74936c49ea
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
197 changed files with 0 additions and 332 deletions

View File

@ -30,7 +30,6 @@ declare(strict_types=1);
namespace OCA\Accessibility\Controller; namespace OCA\Accessibility\Controller;
use OCA\Accessibility\AccessibilityProvider; use OCA\Accessibility\AccessibilityProvider;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\OCS\OCSBadRequestException; use OCP\AppFramework\OCS\OCSBadRequestException;
use OCP\AppFramework\OCSController; use OCP\AppFramework\OCSController;

View File

@ -23,8 +23,6 @@
namespace OCA\CloudFederationAPI; namespace OCA\CloudFederationAPI;
use OCP\Federation\ICloudFederationProviderManager; use OCP\Federation\ICloudFederationProviderManager;
use OCP\GlobalScale\IConfig as IGsConfig;
use OCP\IConfig;
/** /**
* Class config * Class config

View File

@ -30,7 +30,6 @@ use OCP\AppFramework\Http\RedirectResponse;
use OCP\AppFramework\Http\Response; use OCP\AppFramework\Http\Response;
use OCP\Comments\IComment; use OCP\Comments\IComment;
use OCP\Comments\ICommentsManager; use OCP\Comments\ICommentsManager;
use OCP\Files\Folder;
use OCP\Files\IRootFolder; use OCP\Files\IRootFolder;
use OCP\IRequest; use OCP\IRequest;
use OCP\IURLGenerator; use OCP\IURLGenerator;

View File

@ -28,7 +28,6 @@ namespace OCA\Comments\Tests\Unit\Collaboration;
use OCA\Comments\Collaboration\CommentersSorter; use OCA\Comments\Collaboration\CommentersSorter;
use OCP\Comments\IComment; use OCP\Comments\IComment;
use OCP\Comments\ICommentsManager; use OCP\Comments\ICommentsManager;
use OCP\IConfig;
use Test\TestCase; use Test\TestCase;
class CommentersSorterTest extends TestCase { class CommentersSorterTest extends TestCase {

View File

@ -25,15 +25,10 @@ declare(strict_types=1);
namespace OCA\ContactsInteraction\AppInfo; namespace OCA\ContactsInteraction\AppInfo;
use OCA\ContactsInteraction\AddressBook;
use OCA\ContactsInteraction\Listeners\ContactInteractionListener; use OCA\ContactsInteraction\Listeners\ContactInteractionListener;
use OCA\ContactsInteraction\Store;
use OCP\AppFramework\App; use OCP\AppFramework\App;
use OCP\AppFramework\IAppContainer;
use OCP\Contacts\Events\ContactInteractedWithEvent; use OCP\Contacts\Events\ContactInteractedWithEvent;
use OCP\EventDispatcher\IEventDispatcher; use OCP\EventDispatcher\IEventDispatcher;
use OCP\EventDispatcher\IEventListener;
use OCP\IL10N;
class Application extends App { class Application extends App {

View File

@ -24,7 +24,6 @@
namespace OCA\DAV\CalDAV\Activity\Provider; namespace OCA\DAV\CalDAV\Activity\Provider;
use OCA\DAV\CalDAV\CalDavBackend;
use OCP\Activity\IEvent; use OCP\Activity\IEvent;
use OCP\Activity\IEventMerger; use OCP\Activity\IEventMerger;
use OCP\Activity\IManager; use OCP\Activity\IManager;

View File

@ -27,7 +27,6 @@
namespace OCA\DAV\CalDAV; namespace OCA\DAV\CalDAV;
use OCA\DAV\CalDAV\Proxy\ProxyMapper;
use OCA\DAV\DAV\Sharing\IShareable; use OCA\DAV\DAV\Sharing\IShareable;
use OCA\DAV\Exception\UnsupportedLimitOnInitialSyncException; use OCA\DAV\Exception\UnsupportedLimitOnInitialSyncException;
use OCP\IConfig; use OCP\IConfig;

View File

@ -22,7 +22,6 @@
*/ */
namespace OCA\DAV\CalDAV\Integration; namespace OCA\DAV\CalDAV\Integration;
use Sabre\CalDAV\ICalendar;
/** /**
* Interface ICalendarProvider * Interface ICalendarProvider

View File

@ -30,7 +30,6 @@ use OCP\IDBConnection;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\ILogger; use OCP\ILogger;
use OCP\IUserSession; use OCP\IUserSession;
use Sabre\DAV\Exception;
use Sabre\DAV\PropPatch; use Sabre\DAV\PropPatch;
use Sabre\DAVACL\PrincipalBackend\BackendInterface; use Sabre\DAVACL\PrincipalBackend\BackendInterface;

View File

@ -32,7 +32,6 @@ use Exception;
use GuzzleHttp\HandlerStack; use GuzzleHttp\HandlerStack;
use GuzzleHttp\Middleware; use GuzzleHttp\Middleware;
use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalDavBackend;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Http\Client\IClientService; use OCP\Http\Client\IClientService;
use OCP\IConfig; use OCP\IConfig;
use OCP\ILogger; use OCP\ILogger;

View File

@ -4,7 +4,6 @@ declare(strict_types=1);
namespace OCA\DAV\CardDAV\Integration; namespace OCA\DAV\CardDAV\Integration;
use Sabre\CardDAV\IAddressBook;
/** /**
* @since 19.0.0 * @since 19.0.0

View File

@ -27,13 +27,7 @@ namespace OCA\DAV\Command;
use OCA\DAV\CalDAV\BirthdayService; use OCA\DAV\CalDAV\BirthdayService;
use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalDavBackend;
use OCA\DAV\Connector\Sabre\Principal;
use OCP\IConfig;
use OCP\IDBConnection;
use OCP\IGroupManager;
use OCP\IUserManager; use OCP\IUserManager;
use OCP\IUserSession;
use OCP\Share\IManager;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;

View File

@ -27,13 +27,10 @@ namespace OCA\DAV\Command;
use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalDavBackend;
use OCA\DAV\CalDAV\Calendar; use OCA\DAV\CalDAV\Calendar;
use OCA\DAV\Connector\Sabre\Principal;
use OCP\IConfig; use OCP\IConfig;
use OCP\IDBConnection;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\IL10N; use OCP\IL10N;
use OCP\IUserManager; use OCP\IUserManager;
use OCP\IUserSession;
use OCP\Share\IManager as IShareManager; use OCP\Share\IManager as IShareManager;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputArgument;

View File

@ -45,7 +45,6 @@ use OCP\Files\StorageNotAvailableException;
use OCP\Share; use OCP\Share;
use OCP\Share\Exceptions\ShareNotFound; use OCP\Share\Exceptions\ShareNotFound;
use OCP\Share\IManager; use OCP\Share\IManager;
use OCP\Share\IShare;
abstract class Node implements \Sabre\DAV\INode { abstract class Node implements \Sabre\DAV\INode {

View File

@ -33,13 +33,11 @@
namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;
use OCA\Circles\Exceptions\CircleDoesNotExistException; use OCA\Circles\Exceptions\CircleDoesNotExistException;
use OCA\DAV\CalDAV\Proxy\Proxy;
use OCA\DAV\CalDAV\Proxy\ProxyMapper; use OCA\DAV\CalDAV\Proxy\ProxyMapper;
use OCA\DAV\Traits\PrincipalProxyTrait; use OCA\DAV\Traits\PrincipalProxyTrait;
use OCP\App\IAppManager; use OCP\App\IAppManager;
use OCP\AppFramework\QueryException; use OCP\AppFramework\QueryException;
use OCP\IConfig; use OCP\IConfig;
use OCP\IGroup;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\IUser; use OCP\IUser;
use OCP\IUserManager; use OCP\IUserManager;

View File

@ -28,7 +28,6 @@
namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;
use OCA\DAV\Upload\FutureFile; use OCA\DAV\Upload\FutureFile;
use OCP\Files\FileInfo;
use OCP\Files\StorageNotAvailableException; use OCP\Files\StorageNotAvailableException;
use Sabre\DAV\Exception\InsufficientStorage; use Sabre\DAV\Exception\InsufficientStorage;
use Sabre\DAV\Exception\ServiceUnavailable; use Sabre\DAV\Exception\ServiceUnavailable;

View File

@ -28,8 +28,6 @@ declare(strict_types=1);
namespace OCA\DAV\Connector\Sabre; namespace OCA\DAV\Connector\Sabre;
use OCP\Share\IShare; use OCP\Share\IShare;
use Sabre\Xml\Element;
use Sabre\Xml\Reader;
use Sabre\Xml\Writer; use Sabre\Xml\Writer;
use Sabre\Xml\XmlSerializable; use Sabre\Xml\XmlSerializable;

View File

@ -30,9 +30,6 @@ namespace OCA\DAV\DAV;
use OCA\DAV\Connector\Sabre\Node; use OCA\DAV\Connector\Sabre\Node;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\IUser; use OCP\IUser;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\Exception\ServiceUnavailable;
use Sabre\DAV\INode;
use Sabre\DAV\PropertyStorage\Backend\BackendInterface; use Sabre\DAV\PropertyStorage\Backend\BackendInterface;
use Sabre\DAV\PropFind; use Sabre\DAV\PropFind;
use Sabre\DAV\PropPatch; use Sabre\DAV\PropPatch;

View File

@ -27,7 +27,6 @@ declare(strict_types=1);
*/ */
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Closure;
use Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Type;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;

View File

@ -24,9 +24,7 @@
namespace OCA\DAV\Upload; namespace OCA\DAV\Upload;
use OCA\DAV\BackgroundJob\UploadCleanup;
use OCA\DAV\Connector\Sabre\Directory; use OCA\DAV\Connector\Sabre\Directory;
use OCP\BackgroundJob\IJobList;
use Sabre\DAV\Exception\Forbidden; use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\ICollection; use Sabre\DAV\ICollection;

View File

@ -26,8 +26,6 @@ namespace OCA\DAV\Tests\unit\CalDAV;
use OCA\DAV\CalDAV\CachedSubscriptionObject; use OCA\DAV\CalDAV\CachedSubscriptionObject;
use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalDavBackend;
use OCA\DAV\CalDAV\Calendar;
use OCA\DAV\CalDAV\CalendarImpl;
class CachedSubscriptionObjectTest extends \Test\TestCase { class CachedSubscriptionObjectTest extends \Test\TestCase {

View File

@ -31,7 +31,6 @@ use OCA\DAV\CalDAV\Integration\ExternalCalendar;
use OCA\DAV\CalDAV\Integration\ICalendarProvider; use OCA\DAV\CalDAV\Integration\ICalendarProvider;
use OCA\DAV\CalDAV\Outbox; use OCA\DAV\CalDAV\Outbox;
use Sabre\CalDAV\Schedule\Inbox; use Sabre\CalDAV\Schedule\Inbox;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\MkCol; use Sabre\DAV\MkCol;
use Test\TestCase; use Test\TestCase;

View File

@ -31,7 +31,6 @@ namespace OCA\DAV\Tests\unit\CalDAV\Reminder;
use OCA\DAV\CalDAV\Reminder\Backend as ReminderBackend; use OCA\DAV\CalDAV\Reminder\Backend as ReminderBackend;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\DB\QueryBuilder\IQueryBuilder;
use Test\TestCase; use Test\TestCase;
class BackendTest extends TestCase { class BackendTest extends TestCase {

View File

@ -36,12 +36,10 @@ use OCP\ILogger;
use OCP\IURLGenerator; use OCP\IURLGenerator;
use OCP\IUser; use OCP\IUser;
use OCP\L10N\IFactory as L10NFactory; use OCP\L10N\IFactory as L10NFactory;
use OCP\Mail\IAttachment;
use OCP\Mail\IEMailTemplate; use OCP\Mail\IEMailTemplate;
use OCP\Mail\IMailer; use OCP\Mail\IMailer;
use OCP\Mail\IMessage; use OCP\Mail\IMessage;
use Sabre\VObject\Component\VCalendar; use Sabre\VObject\Component\VCalendar;
use Test\TestCase;
class EmailProviderTest extends AbstractNotificationProviderTest { class EmailProviderTest extends AbstractNotificationProviderTest {

View File

@ -29,7 +29,6 @@ declare(strict_types=1);
namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider; namespace OCA\DAV\Tests\unit\CalDAV\Reminder\NotificationProvider;
use OCA\DAV\AppInfo\Application;
use OCA\DAV\CalDAV\Reminder\NotificationProvider\PushProvider; use OCA\DAV\CalDAV\Reminder\NotificationProvider\PushProvider;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IConfig; use OCP\IConfig;
@ -40,7 +39,6 @@ use OCP\IUser;
use OCP\L10N\IFactory as L10NFactory; use OCP\L10N\IFactory as L10NFactory;
use OCP\Notification\IManager; use OCP\Notification\IManager;
use OCP\Notification\INotification; use OCP\Notification\INotification;
use Test\TestCase;
class PushProviderTest extends AbstractNotificationProviderTest { class PushProviderTest extends AbstractNotificationProviderTest {

View File

@ -29,15 +29,11 @@ declare(strict_types=1);
namespace OCA\DAV\Tests\unit\CalDAV\Reminder; namespace OCA\DAV\Tests\unit\CalDAV\Reminder;
use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalDavBackend;
use OCA\DAV\CalDAV\Reminder\AbstractNotificationProvider;
use OCA\DAV\CalDAV\Reminder\Backend; use OCA\DAV\CalDAV\Reminder\Backend;
use OCA\DAV\CalDAV\Reminder\INotificationProvider; use OCA\DAV\CalDAV\Reminder\INotificationProvider;
use OCA\DAV\CalDAV\Reminder\NotificationProvider\EmailProvider;
use OCA\DAV\CalDAV\Reminder\NotificationProvider\PushProvider;
use OCA\DAV\CalDAV\Reminder\NotificationProviderManager; use OCA\DAV\CalDAV\Reminder\NotificationProviderManager;
use OCA\DAV\CalDAV\Reminder\ReminderService; use OCA\DAV\CalDAV\Reminder\ReminderService;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IGroup;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\IUser; use OCP\IUser;
use OCP\IUserManager; use OCP\IUserManager;

View File

@ -26,7 +26,6 @@ namespace OCA\DAV\Tests\unit\CalDAV\ResourceBooking;
use OCA\DAV\CalDAV\Proxy\Proxy; use OCA\DAV\CalDAV\Proxy\Proxy;
use OCA\DAV\CalDAV\Proxy\ProxyMapper; use OCA\DAV\CalDAV\Proxy\ProxyMapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\ILogger; use OCP\ILogger;
use OCP\IUser; use OCP\IUser;

View File

@ -28,7 +28,6 @@
namespace OCA\DAV\Tests\unit\CalDAV\Schedule; namespace OCA\DAV\Tests\unit\CalDAV\Schedule;
use OC\Mail\Mailer;
use OCA\DAV\CalDAV\Schedule\IMipPlugin; use OCA\DAV\CalDAV\Schedule\IMipPlugin;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\DB\QueryBuilder\IQueryBuilder;

View File

@ -32,7 +32,6 @@
namespace OCA\DAV\Tests\unit\CardDAV; namespace OCA\DAV\Tests\unit\CardDAV;
use InvalidArgumentException;
use OCA\DAV\CalDAV\Proxy\ProxyMapper; use OCA\DAV\CalDAV\Proxy\ProxyMapper;
use OCA\DAV\CardDAV\AddressBook; use OCA\DAV\CardDAV\AddressBook;
use OCA\DAV\CardDAV\CardDavBackend; use OCA\DAV\CardDAV\CardDavBackend;

View File

@ -29,7 +29,6 @@ namespace OCA\DAV\Tests\unit\CardDAV;
use OC\Accounts\AccountManager; use OC\Accounts\AccountManager;
use OCA\DAV\CardDAV\Converter; use OCA\DAV\CardDAV\Converter;
use OCP\IDBConnection;
use OCP\IImage; use OCP\IImage;
use OCP\IUser; use OCP\IUser;
use PHPUnit_Framework_MockObject_MockObject; use PHPUnit_Framework_MockObject_MockObject;

View File

@ -25,7 +25,6 @@
namespace OCA\DAV\Tests\Command; namespace OCA\DAV\Tests\Command;
use InvalidArgumentException;
use OCA\DAV\CalDAV\BirthdayService; use OCA\DAV\CalDAV\BirthdayService;
use OCA\DAV\CalDAV\CalDavBackend; use OCA\DAV\CalDAV\CalDavBackend;
use OCA\DAV\Command\ListCalendars; use OCA\DAV\Command\ListCalendars;

View File

@ -27,12 +27,8 @@
namespace OCA\DAV\Tests\unit\Connector\Sabre; namespace OCA\DAV\Tests\unit\Connector\Sabre;
use OC\Files\View; use OC\Files\View;
use OCA\DAV\Connector\Sabre\Directory;
use OCA\DAV\Connector\Sabre\QuotaPlugin; use OCA\DAV\Connector\Sabre\QuotaPlugin;
use OCA\DAV\Files\FilesHome;
use OCP\Files\FileInfo; use OCP\Files\FileInfo;
use Sabre\DAV\Exception\InsufficientStorage;
use Sabre\DAV\Tree;
use Test\TestCase; use Test\TestCase;
/** /**

View File

@ -25,7 +25,6 @@
namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest; namespace OCA\DAV\Tests\unit\Connector\Sabre\RequestTest;
use OC\Connector\Sabre\Exception\FileLocked;
use OCP\AppFramework\Http; use OCP\AppFramework\Http;
use OCP\Lock\ILockingProvider; use OCP\Lock\ILockingProvider;

View File

@ -29,7 +29,6 @@ declare(strict_types=1);
namespace OCA\DAV\Tests\Unit\DAV\Controller; namespace OCA\DAV\Tests\Unit\DAV\Controller;
use OCA\DAV\CalDAV\InvitationResponse\InvitationResponseServer; use OCA\DAV\CalDAV\InvitationResponse\InvitationResponseServer;
use OCA\DAV\CalDAV\Schedule\Plugin;
use OCA\DAV\Controller\InvitationResponseController; use OCA\DAV\Controller\InvitationResponseController;
use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;

View File

@ -24,12 +24,9 @@
namespace OCA\DAV\Tests\DAV; namespace OCA\DAV\Tests\DAV;
use OCA\DAV\Connector\Sabre\Node;
use OCA\DAV\DAV\CustomPropertiesBackend; use OCA\DAV\DAV\CustomPropertiesBackend;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\IUser; use OCP\IUser;
use Sabre\DAV\Exception\NotFound;
use Sabre\DAV\INode;
use Sabre\DAV\PropFind; use Sabre\DAV\PropFind;
use Sabre\DAV\PropPatch; use Sabre\DAV\PropPatch;
use Sabre\DAV\Tree; use Sabre\DAV\Tree;

View File

@ -43,10 +43,7 @@ use OCP\Share\IManager;
use SearchDAV\Backend\SearchPropertyDefinition; use SearchDAV\Backend\SearchPropertyDefinition;
use SearchDAV\Query\Limit; use SearchDAV\Query\Limit;
use SearchDAV\Query\Query; use SearchDAV\Query\Query;
use SearchDAV\XML\BasicSearch;
use SearchDAV\XML\Literal;
use SearchDAV\XML\Operator; use SearchDAV\XML\Operator;
use SearchDAV\XML\Scope;
use Test\TestCase; use Test\TestCase;
class FileSearchBackendTest extends TestCase { class FileSearchBackendTest extends TestCase {

View File

@ -26,7 +26,6 @@
namespace OCA\DAV\Tests\unit; namespace OCA\DAV\Tests\unit;
use OCA\DAV\AppInfo\PluginManager;
use OCA\DAV\Server; use OCA\DAV\Server;
use OCP\IRequest; use OCP\IRequest;

View File

@ -24,11 +24,6 @@
namespace OCA\Encryption\Command; namespace OCA\Encryption\Command;
use OC\Files\Filesystem;
use OC\User\NoUserException;
use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager;
use OCA\Encryption\Recovery;
use OCA\Encryption\Util; use OCA\Encryption\Util;
use OCP\IConfig; use OCP\IConfig;
use OCP\IUserManager; use OCP\IUserManager;

View File

@ -33,11 +33,9 @@ use OCA\Encryption\Crypto\Crypt;
use OCA\Encryption\KeyManager; use OCA\Encryption\KeyManager;
use OCA\Encryption\Recovery; use OCA\Encryption\Recovery;
use OCP\Encryption\IFile; use OCP\Encryption\IFile;
use OCP\Encryption\Keys\IStorage;
use OCP\IConfig; use OCP\IConfig;
use OCP\IUser; use OCP\IUser;
use OCP\IUserSession; use OCP\IUserSession;
use OCP\Security\ISecureRandom;
use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase; use Test\TestCase;

View File

@ -29,17 +29,13 @@
namespace OCA\FederatedFileSharing\Controller; namespace OCA\FederatedFileSharing\Controller;
use OC\Files\Filesystem;
use OC\HintException; use OC\HintException;
use OC\Share\Helper;
use OCA\FederatedFileSharing\AddressHandler; use OCA\FederatedFileSharing\AddressHandler;
use OCA\FederatedFileSharing\FederatedShareProvider; use OCA\FederatedFileSharing\FederatedShareProvider;
use OCA\Files_Sharing\External\Manager;
use OCP\AppFramework\Controller; use OCP\AppFramework\Controller;
use OCP\AppFramework\Http; use OCP\AppFramework\Http;
use OCP\AppFramework\Http\JSONResponse; use OCP\AppFramework\Http\JSONResponse;
use OCP\Federation\ICloudIdManager; use OCP\Federation\ICloudIdManager;
use OCP\Files\StorageInvalidException;
use OCP\Http\Client\IClientService; use OCP\Http\Client\IClientService;
use OCP\IL10N; use OCP\IL10N;
use OCP\ILogger; use OCP\ILogger;
@ -47,7 +43,6 @@ use OCP\IRequest;
use OCP\ISession; use OCP\ISession;
use OCP\IUserSession; use OCP\IUserSession;
use OCP\Share\IManager; use OCP\Share\IManager;
use OCP\Util;
/** /**
* Class MountPublicLinkController * Class MountPublicLinkController

View File

@ -28,28 +28,19 @@
namespace OCA\FederatedFileSharing\Tests; namespace OCA\FederatedFileSharing\Tests;
use OC\AppFramework\Http;
use OC\Federation\CloudIdManager;
use OC\Files\Filesystem;
use OCA\FederatedFileSharing\Controller\RequestHandlerController; use OCA\FederatedFileSharing\Controller\RequestHandlerController;
use OCA\FederatedFileSharing\FederatedShareProvider;
use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\DataResponse;
use OCP\Federation\ICloudFederationFactory; use OCP\Federation\ICloudFederationFactory;
use OCP\Federation\ICloudFederationProvider; use OCP\Federation\ICloudFederationProvider;
use OCP\Federation\ICloudFederationProviderManager; use OCP\Federation\ICloudFederationProviderManager;
use OCP\Federation\ICloudFederationShare; use OCP\Federation\ICloudFederationShare;
use OCP\Federation\ICloudIdManager; use OCP\Federation\ICloudIdManager;
use OCP\Http\Client\IClient;
use OCP\Http\Client\IClientService;
use OCP\Http\Client\IResponse;
use OCP\IConfig;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\ILogger; use OCP\ILogger;
use OCP\IRequest; use OCP\IRequest;
use OCP\IUserManager; use OCP\IUserManager;
use OCP\Share; use OCP\Share;
use OCP\Share\IShare; use OCP\Share\IShare;
use PHPUnit\Framework\MockObject\Builder\InvocationMocker;
/** /**
* Class RequestHandlerTest * Class RequestHandlerTest

View File

@ -26,14 +26,8 @@
namespace OCA\Files; namespace OCA\Files;
use OC\DirectEditing\Manager;
use OCA\Files\Service\DirectEditingService; use OCA\Files\Service\DirectEditingService;
use OCP\Capabilities\ICapability; use OCP\Capabilities\ICapability;
use OCP\DirectEditing\ACreateEmpty;
use OCP\DirectEditing\ACreateFromTemplate;
use OCP\DirectEditing\IEditor;
use OCP\DirectEditing\RegisterDirectEditorEvent;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\IConfig; use OCP\IConfig;
use OCP\IURLGenerator; use OCP\IURLGenerator;

View File

@ -52,7 +52,6 @@ use OCP\IPreview;
use OCP\IRequest; use OCP\IRequest;
use OCP\IUserSession; use OCP\IUserSession;
use OCP\Share\IManager; use OCP\Share\IManager;
use Sabre\VObject\Property\Boolean;
/** /**
* Class ApiController * Class ApiController

View File

@ -29,9 +29,6 @@ use OCA\Files\Service\DirectEditingService;
use OCP\AppFramework\Http; use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\OCSController; use OCP\AppFramework\OCSController;
use OCP\DirectEditing\ACreateEmpty;
use OCP\DirectEditing\ACreateFromTemplate;
use OCP\DirectEditing\IEditor;
use OCP\DirectEditing\IManager; use OCP\DirectEditing\IManager;
use OCP\DirectEditing\RegisterDirectEditorEvent; use OCP\DirectEditing\RegisterDirectEditorEvent;
use OCP\EventDispatcher\IEventDispatcher; use OCP\EventDispatcher\IEventDispatcher;

View File

@ -30,8 +30,6 @@ namespace OCA\Files\Notification;
use OCA\Files\Db\TransferOwnershipMapper; use OCA\Files\Db\TransferOwnershipMapper;
use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Db\DoesNotExistException;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\IURLGenerator; use OCP\IURLGenerator;
use OCP\L10N\IFactory; use OCP\L10N\IFactory;

View File

@ -25,7 +25,6 @@
* *
*/ */
use OCA\Files\Tests;
/** /**
* Class Helper * Class Helper

View File

@ -13,14 +13,11 @@ use Icewind\SMB\Exception\DependencyException;
use Icewind\SMB\Exception\FileInUseException; use Icewind\SMB\Exception\FileInUseException;
use Icewind\SMB\Exception\InvalidTypeException; use Icewind\SMB\Exception\InvalidTypeException;
use Icewind\SMB\Exception\NotFoundException; use Icewind\SMB\Exception\NotFoundException;
use Icewind\SMB\Exception\InvalidRequestException;
use Icewind\SMB\IFileInfo; use Icewind\SMB\IFileInfo;
use Icewind\SMB\INotifyHandler; use Icewind\SMB\INotifyHandler;
use Icewind\SMB\IServer; use Icewind\SMB\IServer;
use Icewind\SMB\ISystem; use Icewind\SMB\ISystem;
use Icewind\Streams\CallbackWrapper; use Icewind\Streams\CallbackWrapper;
use Icewind\SMB\Native\NativeShare;
use Icewind\SMB\Native\NativeServer;
class Share extends AbstractShare { class Share extends AbstractShare {
/** /**

View File

@ -62,8 +62,6 @@ use OCA\Files_External\Lib\Config\IAuthMechanismProvider;
use OCA\Files_External\Lib\Config\IBackendProvider; use OCA\Files_External\Lib\Config\IBackendProvider;
use OCA\Files_External\Service\BackendService; use OCA\Files_External\Service\BackendService;
use OCP\AppFramework\App; use OCP\AppFramework\App;
use OCP\AppFramework\IAppContainer;
use OCP\Files\Config\IUserMountCache;
use OCP\IGroup; use OCP\IGroup;
use OCP\IUser; use OCP\IUser;
use Symfony\Component\EventDispatcher\GenericEvent; use Symfony\Component\EventDispatcher\GenericEvent;

View File

@ -24,7 +24,6 @@
namespace OCA\Files_External\Lib\Backend; namespace OCA\Files_External\Lib\Backend;
use OCA\Files_External\Lib\Storage\InvalidStorage;
use OCA\Files_External\Lib\StorageConfig; use OCA\Files_External\Lib\StorageConfig;
use OCP\Files\StorageNotAvailableException; use OCP\Files\StorageNotAvailableException;
use OCP\IUser; use OCP\IUser;

View File

@ -30,7 +30,6 @@ use OCA\Files_External\Lib\Auth\OpenStack\OpenStackV2;
use OCA\Files_External\Lib\Auth\OpenStack\Rackspace; use OCA\Files_External\Lib\Auth\OpenStack\Rackspace;
use OCA\Files_External\Lib\DefinitionParameter; use OCA\Files_External\Lib\DefinitionParameter;
use OCA\Files_External\Lib\LegacyDependencyCheckPolyfill; use OCA\Files_External\Lib\LegacyDependencyCheckPolyfill;
use OCA\Files_External\Service\BackendService;
use OCP\IL10N; use OCP\IL10N;
class Swift extends Backend { class Swift extends Backend {

View File

@ -26,7 +26,6 @@ namespace OCA\Files_External\Migration;
use OCA\Files_External\Service\BackendService; use OCA\Files_External\Service\BackendService;
use OCA\Files_External\Service\DBConfigService; use OCA\Files_External\Service\DBConfigService;
use OCA\Files_External\Service\GlobalLegacyStoragesService;
use OCA\Files_External\Service\LegacyStoragesService; use OCA\Files_External\Service\LegacyStoragesService;
use OCA\Files_External\Service\StoragesService; use OCA\Files_External\Service\StoragesService;
use OCA\Files_External\Service\UserLegacyStoragesService; use OCA\Files_External\Service\UserLegacyStoragesService;

View File

@ -28,7 +28,6 @@ namespace OCA\Files_External\Tests\Controller;
use OCA\Files_External\Controller\GlobalStoragesController; use OCA\Files_External\Controller\GlobalStoragesController;
use OCA\Files_External\Service\BackendService; use OCA\Files_External\Service\BackendService;
use OCP\AppFramework\Http;
use OCP\IL10N; use OCP\IL10N;
use OCP\ILogger; use OCP\ILogger;
use OCP\IRequest; use OCP\IRequest;

View File

@ -25,7 +25,6 @@
namespace OCA\Files_Sharing\Controller; namespace OCA\Files_Sharing\Controller;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http; use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\Http\FileDisplayResponse; use OCP\AppFramework\Http\FileDisplayResponse;

View File

@ -34,7 +34,6 @@ declare(strict_types=1);
namespace OCA\Files_Sharing\Controller; namespace OCA\Files_Sharing\Controller;
use function array_filter;
use function array_slice; use function array_slice;
use function array_values; use function array_values;
use Generator; use Generator;

View File

@ -29,9 +29,6 @@ namespace OCA\Files_Sharing;
use OC\Files\Filesystem; use OC\Files\Filesystem;
use OC\Files\View; use OC\Files\View;
use OCP\Files\NotFoundException;
use OCP\Share\Exceptions\ShareNotFound;
use OCP\User;
class Helper { class Helper {

View File

@ -29,7 +29,6 @@
namespace OCA\Files_Sharing; namespace OCA\Files_Sharing;
use OC\Files\Filesystem; use OC\Files\Filesystem;
use OCA\FederatedFileSharing\DiscoveryManager;
class Hooks { class Hooks {

View File

@ -27,7 +27,6 @@
namespace OCA\Files_Sharing\Middleware; namespace OCA\Files_Sharing\Middleware;
use OCA\Files_Sharing\Controller\ExternalSharesController; use OCA\Files_Sharing\Controller\ExternalSharesController;
use OCA\Files_Sharing\Controller\ShareController;
use OCA\Files_Sharing\Exceptions\S2SException; use OCA\Files_Sharing\Exceptions\S2SException;
use OCP\App\IAppManager; use OCP\App\IAppManager;
use OCP\AppFramework\Controller; use OCP\AppFramework\Controller;

View File

@ -32,7 +32,6 @@
namespace OCA\Files_Sharing\Tests; namespace OCA\Files_Sharing\Tests;
use OC\Files\Cache\Scanner;
use OC\Files\Filesystem; use OC\Files\Filesystem;
use OCA\Files_Sharing\AppInfo\Application; use OCA\Files_Sharing\AppInfo\Application;
use OCP\Share\IShare; use OCP\Share\IShare;

View File

@ -34,7 +34,6 @@ use OCA\Files_Trashbin\Trash\ITrashManager;
use OCA\Files_Trashbin\Trash\TrashManager; use OCA\Files_Trashbin\Trash\TrashManager;
use OCP\AppFramework\App; use OCP\AppFramework\App;
use OCP\AppFramework\IAppContainer; use OCP\AppFramework\IAppContainer;
use OCP\AppFramework\Utility\ITimeFactory;
class Application extends App { class Application extends App {
public function __construct (array $urlParams = []) { public function __construct (array $urlParams = []) {

View File

@ -29,7 +29,6 @@ namespace OCA\Files_Trashbin\Sabre;
use OCA\Files_Trashbin\Trash\ITrashItem; use OCA\Files_Trashbin\Trash\ITrashItem;
use OCA\Files_Trashbin\Trash\ITrashManager; use OCA\Files_Trashbin\Trash\ITrashManager;
use OCP\Files\FileInfo; use OCP\Files\FileInfo;
use OCP\IUser;
abstract class AbstractTrash implements ITrash { abstract class AbstractTrash implements ITrash {
/** @var ITrashItem */ /** @var ITrashItem */

View File

@ -28,7 +28,6 @@ declare(strict_types=1);
namespace OCA\Files_Trashbin\Sabre; namespace OCA\Files_Trashbin\Sabre;
use OCA\DAV\Connector\Sabre\FilesPlugin; use OCA\DAV\Connector\Sabre\FilesPlugin;
use OCP\Constants;
use OCP\IPreview; use OCP\IPreview;
use Sabre\DAV\INode; use Sabre\DAV\INode;
use Sabre\DAV\PropFind; use Sabre\DAV\PropFind;

View File

@ -31,7 +31,6 @@ namespace OCA\Files_Trashbin;
use OC\Files\Filesystem; use OC\Files\Filesystem;
use OC\Files\Storage\Wrapper\Wrapper; use OC\Files\Storage\Wrapper\Wrapper;
use OC\Files\View;
use OCA\Files_Trashbin\Events\MoveToTrashEvent; use OCA\Files_Trashbin\Events\MoveToTrashEvent;
use OCA\Files_Trashbin\Trash\ITrashManager; use OCA\Files_Trashbin\Trash\ITrashManager;
use OCP\Encryption\Exceptions\GenericEncryptionException; use OCP\Encryption\Exceptions\GenericEncryptionException;

View File

@ -23,9 +23,7 @@
namespace OCA\Files_Trashbin\Trash; namespace OCA\Files_Trashbin\Trash;
use OCP\Files\FileInfo;
use OCP\Files\Node; use OCP\Files\Node;
use OCP\Files\SimpleFS\ISimpleFile;
use OCP\Files\Storage\IStorage; use OCP\Files\Storage\IStorage;
use OCP\IUser; use OCP\IUser;

View File

@ -23,8 +23,6 @@
namespace OCA\Files_Trashbin\Trash; namespace OCA\Files_Trashbin\Trash;
use OCP\Files\FileInfo;
use OCP\Files\Mount\IMountPoint;
use OCP\Files\Storage\IStorage; use OCP\Files\Storage\IStorage;
use OCP\IUser; use OCP\IUser;

View File

@ -28,7 +28,6 @@
* *
*/ */
use OCA\Files_Trashbin\Tests;
use OCA\Files_Sharing\AppInfo\Application; use OCA\Files_Sharing\AppInfo\Application;
/** /**

View File

@ -25,7 +25,6 @@
namespace OCA\Files_Versions\BackgroundJob; namespace OCA\Files_Versions\BackgroundJob;
use OCA\Files_Versions\AppInfo\Application;
use OCA\Files_Versions\Expiration; use OCA\Files_Versions\Expiration;
use OCA\Files_Versions\Storage; use OCA\Files_Versions\Storage;
use OCP\IUser; use OCP\IUser;

View File

@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCA\Files_Versions\Sabre; namespace OCA\Files_Versions\Sabre;
use OCP\IUser;
use Sabre\DAV\Exception\Forbidden; use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\ICollection; use Sabre\DAV\ICollection;
use Sabre\DAV\IMoveTarget; use Sabre\DAV\IMoveTarget;

View File

@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCA\Files_Versions\Sabre; namespace OCA\Files_Versions\Sabre;
use OCA\Files_Versions\Storage;
use OCA\Files_Versions\Versions\IVersion; use OCA\Files_Versions\Versions\IVersion;
use OCA\Files_Versions\Versions\IVersionManager; use OCA\Files_Versions\Versions\IVersionManager;
use OCP\Files\File; use OCP\Files\File;

View File

@ -29,7 +29,6 @@ namespace OCA\Files_Versions\Versions;
use OCP\Files\File; use OCP\Files\File;
use OCP\Files\FileInfo; use OCP\Files\FileInfo;
use OCP\Files\NotFoundException; use OCP\Files\NotFoundException;
use OCP\Files\SimpleFS\ISimpleFile;
use OCP\Files\Storage\IStorage; use OCP\Files\Storage\IStorage;
use OCP\IUser; use OCP\IUser;

View File

@ -24,7 +24,6 @@
namespace OCA\Files_Versions\Tests\Controller; namespace OCA\Files_Versions\Tests\Controller;
use OC\User\User;
use OCA\Files_Versions\Controller\PreviewController; use OCA\Files_Versions\Controller\PreviewController;
use OCA\Files_Versions\Versions\IVersionManager; use OCA\Files_Versions\Versions\IVersionManager;
use OCP\AppFramework\Http; use OCP\AppFramework\Http;

View File

@ -38,7 +38,6 @@ require_once __DIR__ . '/../appinfo/app.php';
use OC\Files\Storage\Temporary; use OC\Files\Storage\Temporary;
use OCP\IConfig; use OCP\IConfig;
use OCP\IUser; use OCP\IUser;
use OCP\Share\IShare;
/** /**
* Class Test_Files_versions * Class Test_Files_versions

View File

@ -37,13 +37,7 @@ use OC\AppFramework\Utility\TimeFactory;
use OC\Authentication\Token\IProvider; use OC\Authentication\Token\IProvider;
use OC\Authentication\Token\IToken; use OC\Authentication\Token\IToken;
use OC\Server; use OC\Server;
use OCA\Settings\Activity\GroupProvider;
use OCA\Settings\Activity\GroupSetting;
use OCA\Settings\Activity\Provider; use OCA\Settings\Activity\Provider;
use OCA\Settings\Activity\SecurityFilter;
use OCA\Settings\Activity\SecurityProvider;
use OCA\Settings\Activity\SecuritySetting;
use OCA\Settings\Activity\Setting;
use OCA\Settings\Hooks; use OCA\Settings\Hooks;
use OCA\Settings\Mailer\NewUserMailHelper; use OCA\Settings\Mailer\NewUserMailHelper;
use OCA\Settings\Middleware\SubadminMiddleware; use OCA\Settings\Middleware\SubadminMiddleware;

View File

@ -40,7 +40,6 @@ use OC\Authentication\Exceptions\WipeTokenException;
use OC\Authentication\Token\INamedToken; use OC\Authentication\Token\INamedToken;
use OC\Authentication\Token\IProvider; use OC\Authentication\Token\IProvider;
use OC\Authentication\Token\IToken; use OC\Authentication\Token\IToken;
use OC\Authentication\Token\IWipeableToken;
use OC\Authentication\Token\RemoteWipe; use OC\Authentication\Token\RemoteWipe;
use OCA\Settings\Activity\Provider; use OCA\Settings\Activity\Provider;
use OCP\Activity\IManager; use OCP\Activity\IManager;

View File

@ -35,7 +35,6 @@ use OC\AppFramework\Http;
use OC\Encryption\Exceptions\ModuleDoesNotExistsException; use OC\Encryption\Exceptions\ModuleDoesNotExistsException;
use OC\ForbiddenException; use OC\ForbiddenException;
use OC\Security\IdentityProof\Manager; use OC\Security\IdentityProof\Manager;
use OCA\Settings\AppInfo\Application;
use OCA\Settings\BackgroundJobs\VerifyUserData; use OCA\Settings\BackgroundJobs\VerifyUserData;
use OCA\User_LDAP\User_Proxy; use OCA\User_LDAP\User_Proxy;
use OCP\App\IAppManager; use OCP\App\IAppManager;

View File

@ -33,7 +33,6 @@ namespace OCA\Settings\Mailer;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Defaults; use OCP\Defaults;
use OCP\IConfig; use OCP\IConfig;
use OCP\IL10N;
use OCP\IURLGenerator; use OCP\IURLGenerator;
use OCP\IUser; use OCP\IUser;
use OCP\L10N\IFactory; use OCP\L10N\IFactory;

View File

@ -34,7 +34,6 @@ use OCP\AppFramework\Http\TemplateResponse;
use OCP\Constants; use OCP\Constants;
use OCP\IConfig; use OCP\IConfig;
use OCP\IL10N; use OCP\IL10N;
use OCP\L10N\IFactory;
use OCP\Settings\ISettings; use OCP\Settings\ISettings;
use OCP\Share\IManager; use OCP\Share\IManager;
use OCP\Util; use OCP\Util;

View File

@ -32,7 +32,6 @@ namespace OCA\Settings\Tests\Mailer;
use OC\Mail\EMailTemplate; use OC\Mail\EMailTemplate;
use OC\Mail\Message; use OC\Mail\Message;
use OCA\Settings\Mailer\NewUserMailHelper;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Defaults; use OCP\Defaults;
use OCP\IConfig; use OCP\IConfig;

View File

@ -48,8 +48,6 @@ use OCP\AppFramework\Http\DataDownloadResponse;
use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\Http\FileDisplayResponse; use OCP\AppFramework\Http\FileDisplayResponse;
use OCP\AppFramework\Http\NotFoundResponse; use OCP\AppFramework\Http\NotFoundResponse;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Files\File;
use OCP\Files\IAppData; use OCP\Files\IAppData;
use OCP\Files\NotFoundException; use OCP\Files\NotFoundException;
use OCP\Files\NotPermittedException; use OCP\Files\NotPermittedException;

View File

@ -34,7 +34,6 @@ use OCA\Theming\Controller\IconController;
use OCA\Theming\IconBuilder; use OCA\Theming\IconBuilder;
use OCA\Theming\ImageManager; use OCA\Theming\ImageManager;
use OCA\Theming\ThemingDefaults; use OCA\Theming\ThemingDefaults;
use OCA\Theming\Util;
use OCP\AppFramework\Http; use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataDisplayResponse; use OCP\AppFramework\Http\DataDisplayResponse;
use OCP\AppFramework\Http\FileDisplayResponse; use OCP\AppFramework\Http\FileDisplayResponse;

View File

@ -35,7 +35,6 @@
namespace OCA\Theming\Tests\Controller; namespace OCA\Theming\Tests\Controller;
use OC\Files\AppData\Factory;
use OC\L10N\L10N; use OC\L10N\L10N;
use OC\Template\SCSSCacher; use OC\Template\SCSSCacher;
use OCA\Theming\Controller\ThemingController; use OCA\Theming\Controller\ThemingController;
@ -47,13 +46,11 @@ use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\Utility\ITimeFactory; use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Files\IAppData; use OCP\Files\IAppData;
use OCP\Files\IRootFolder;
use OCP\Files\NotFoundException; use OCP\Files\NotFoundException;
use OCP\Files\SimpleFS\ISimpleFile; use OCP\Files\SimpleFS\ISimpleFile;
use OCP\Files\SimpleFS\ISimpleFolder; use OCP\Files\SimpleFS\ISimpleFolder;
use OCP\IConfig; use OCP\IConfig;
use OCP\IL10N; use OCP\IL10N;
use OCP\ILogger;
use OCP\IRequest; use OCP\IRequest;
use OCP\ITempManager; use OCP\ITempManager;
use OCP\IURLGenerator; use OCP\IURLGenerator;

View File

@ -27,7 +27,6 @@
namespace OCA\Theming\Tests; namespace OCA\Theming\Tests;
use OCA\Theming\ImageManager; use OCA\Theming\ImageManager;
use OCA\Theming\ThemingDefaults;
use OCP\Files\IAppData; use OCP\Files\IAppData;
use OCP\Files\NotFoundException; use OCP\Files\NotFoundException;
use OCP\Files\SimpleFS\ISimpleFile; use OCP\Files\SimpleFS\ISimpleFile;

View File

@ -41,7 +41,6 @@ use OCP\App\IAppManager;
use OCP\Files\IAppData; use OCP\Files\IAppData;
use OCP\Files\NotFoundException; use OCP\Files\NotFoundException;
use OCP\Files\SimpleFS\ISimpleFile; use OCP\Files\SimpleFS\ISimpleFile;
use OCP\Files\SimpleFS\ISimpleFolder;
use OCP\ICache; use OCP\ICache;
use OCP\ICacheFactory; use OCP\ICacheFactory;
use OCP\IConfig; use OCP\IConfig;

View File

@ -30,7 +30,6 @@ namespace OCA\Theming\Tests;
use OCA\Theming\Util; use OCA\Theming\Util;
use OCP\App\IAppManager; use OCP\App\IAppManager;
use OCP\Files\IAppData; use OCP\Files\IAppData;
use OCP\Files\IRootFolder;
use OCP\Files\NotFoundException; use OCP\Files\NotFoundException;
use OCP\Files\SimpleFS\ISimpleFile; use OCP\Files\SimpleFS\ISimpleFile;
use OCP\Files\SimpleFS\ISimpleFolder; use OCP\Files\SimpleFS\ISimpleFolder;

View File

@ -36,7 +36,6 @@ use OCA\TwoFactorBackupCodes\Notifications\Notifier;
use OCP\AppFramework\App; use OCP\AppFramework\App;
use OCP\Authentication\TwoFactorAuth\IRegistry; use OCP\Authentication\TwoFactorAuth\IRegistry;
use OCP\EventDispatcher\IEventDispatcher; use OCP\EventDispatcher\IEventDispatcher;
use OCP\IL10N;
use OCP\Notification\IManager; use OCP\Notification\IManager;
use OCP\Util; use OCP\Util;

View File

@ -25,7 +25,6 @@
namespace OCA\TwoFactorBackupCodes\Db; namespace OCA\TwoFactorBackupCodes\Db;
use OCP\AppFramework\Db\Mapper;
use OCP\AppFramework\Db\QBMapper; use OCP\AppFramework\Db\QBMapper;
use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection; use OCP\IDBConnection;

View File

@ -25,17 +25,13 @@
namespace OCA\TwoFactorBackupCodes\Service; namespace OCA\TwoFactorBackupCodes\Service;
use BadMethodCallException;
use OCA\TwoFactorBackupCodes\Db\BackupCode; use OCA\TwoFactorBackupCodes\Db\BackupCode;
use OCA\TwoFactorBackupCodes\Db\BackupCodeMapper; use OCA\TwoFactorBackupCodes\Db\BackupCodeMapper;
use OCA\TwoFactorBackupCodes\Event\CodesGenerated; use OCA\TwoFactorBackupCodes\Event\CodesGenerated;
use OCP\Activity\IManager;
use OCP\EventDispatcher\IEventDispatcher; use OCP\EventDispatcher\IEventDispatcher;
use OCP\ILogger;
use OCP\IUser; use OCP\IUser;
use OCP\Security\IHasher; use OCP\Security\IHasher;
use OCP\Security\ISecureRandom; use OCP\Security\ISecureRandom;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
class BackupCodeStorage { class BackupCodeStorage {

View File

@ -33,7 +33,6 @@ use OCP\AppFramework\Http\TemplateResponse;
use OCP\IConfig; use OCP\IConfig;
use OCP\IDateTimeFormatter; use OCP\IDateTimeFormatter;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\IUserSession;
use OCP\L10N\IFactory; use OCP\L10N\IFactory;
use OCP\Settings\ISettings; use OCP\Settings\ISettings;
use OCP\Support\Subscription\IRegistry; use OCP\Support\Subscription\IRegistry;

View File

@ -36,7 +36,6 @@ use OCP\IConfig;
use OCP\IDateTimeFormatter; use OCP\IDateTimeFormatter;
use OCP\IGroup; use OCP\IGroup;
use OCP\IGroupManager; use OCP\IGroupManager;
use OCP\IUserSession;
use OCP\L10N\IFactory; use OCP\L10N\IFactory;
use OCP\L10N\ILanguageIterator; use OCP\L10N\ILanguageIterator;
use OCP\Support\Subscription\IRegistry; use OCP\Support\Subscription\IRegistry;

View File

@ -23,7 +23,6 @@
namespace OCA\User_LDAP\Tests\Integration\Lib\User; namespace OCA\User_LDAP\Tests\Integration\Lib\User;
use OC\User\NoUserException;
use OCA\User_LDAP\Jobs\CleanUp; use OCA\User_LDAP\Jobs\CleanUp;
use OCA\User_LDAP\Mapping\UserMapping; use OCA\User_LDAP\Mapping\UserMapping;
use OCA\User_LDAP\Tests\Integration\AbstractIntegrationTest; use OCA\User_LDAP\Tests\Integration\AbstractIntegrationTest;

View File

@ -38,7 +38,6 @@ use OCP\IConfig;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\IUserManager; use OCP\IUserManager;
use OCP\Notification\IManager; use OCP\Notification\IManager;
use function Sodium\memcmp;
use Test\TestCase; use Test\TestCase;
class SyncTest extends TestCase { class SyncTest extends TestCase {

View File

@ -27,7 +27,6 @@
namespace OCA\User_LDAP\Tests\Settings; namespace OCA\User_LDAP\Tests\Settings;
use OCA\User_LDAP\Configuration; use OCA\User_LDAP\Configuration;
use OCA\User_LDAP\Helper;
use OCA\User_LDAP\Settings\Admin; use OCA\User_LDAP\Settings\Admin;
use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Http\TemplateResponse;
use OCP\IL10N; use OCP\IL10N;

View File

@ -27,7 +27,6 @@
namespace OCA\User_LDAP\Tests; namespace OCA\User_LDAP\Tests;
use OCA\User_LDAP\ILDAPUserPlugin;
use OCA\User_LDAP\ILDAPWrapper; use OCA\User_LDAP\ILDAPWrapper;
use OCA\User_LDAP\User_Proxy; use OCA\User_LDAP\User_Proxy;
use OCA\User_LDAP\UserPluginManager; use OCA\User_LDAP\UserPluginManager;

View File

@ -27,7 +27,6 @@ use OCP\IL10N;
use OCP\IRequest; use OCP\IRequest;
use OCP\Util; use OCP\Util;
use OCP\WorkflowEngine\ICheck; use OCP\WorkflowEngine\ICheck;
use OCP\WorkflowEngine\IEntity;
class FileSize implements ICheck { class FileSize implements ICheck {

View File

@ -26,10 +26,6 @@
*/ */
use Behat\Behat\Context\Context; use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext; use Behat\Behat\Context\SnippetAcceptingContext;
use Behat\Behat\Hook\Scope\AfterScenarioScope;
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
use GuzzleHttp\Client;
use GuzzleHttp\Message\ResponseInterface;
use PHPUnit\Framework\Assert; use PHPUnit\Framework\Assert;
require __DIR__ . '/../../vendor/autoload.php'; require __DIR__ . '/../../vendor/autoload.php';

View File

@ -22,8 +22,6 @@
* *
*/ */
use GuzzleHttp\Client;
use GuzzleHttp\Message\ResponseInterface;
use PHPUnit\Framework\Assert; use PHPUnit\Framework\Assert;
require __DIR__ . '/../../vendor/autoload.php'; require __DIR__ . '/../../vendor/autoload.php';

View File

@ -26,8 +26,6 @@
*/ */
use Behat\Behat\Context\Context; use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext; use Behat\Behat\Context\SnippetAcceptingContext;
use GuzzleHttp\Client;
use GuzzleHttp\Message\ResponseInterface;
require __DIR__ . '/../../vendor/autoload.php'; require __DIR__ . '/../../vendor/autoload.php';

View File

@ -24,7 +24,6 @@
*/ */
use Behat\Behat\Context\Context; use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext; use Behat\Behat\Context\SnippetAcceptingContext;
use Behat\Behat\Tester\Exception\PendingException;
use GuzzleHttp\Client; use GuzzleHttp\Client;
require __DIR__ . '/../../vendor/autoload.php'; require __DIR__ . '/../../vendor/autoload.php';

View File

@ -26,8 +26,6 @@
*/ */
use Behat\Behat\Context\Context; use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext; use Behat\Behat\Context\SnippetAcceptingContext;
use PHPUnit\Framework\Assert;
use Psr\Http\Message\ResponseInterface;
require __DIR__ . '/../../vendor/autoload.php'; require __DIR__ . '/../../vendor/autoload.php';

View File

@ -22,8 +22,6 @@
*/ */
use Behat\Behat\Context\Context; use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext; use Behat\Behat\Context\SnippetAcceptingContext;
use PHPUnit\Framework\Assert;
use Psr\Http\Message\ResponseInterface;
require __DIR__ . '/../../vendor/autoload.php'; require __DIR__ . '/../../vendor/autoload.php';

View File

@ -44,7 +44,6 @@ use OC\DB\SchemaWrapper;
use OCP\AppFramework\App; use OCP\AppFramework\App;
use OCP\EventDispatcher\IEventDispatcher; use OCP\EventDispatcher\IEventDispatcher;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\IServerContainer;
use OCP\User\Events\UserDeletedEvent; use OCP\User\Events\UserDeletedEvent;
use OCP\Util; use OCP\Util;
use Symfony\Component\EventDispatcher\GenericEvent; use Symfony\Component\EventDispatcher\GenericEvent;

Some files were not shown because too many files have changed in this diff Show More