From 453e1bf66e7edb6e2b3d25a093bf2c7662f209a7 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Mon, 7 Dec 2015 15:43:36 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- apps/files_external/command/listcommand.php | 1 - apps/files_sharing/tests/locking.php | 1 - lib/private/appframework/utility/simplecontainer.php | 2 -- lib/private/files/filesystem.php | 1 - lib/private/session/cryptowrapper.php | 1 - settings/controller/userscontroller.php | 1 - tests/core/avatar/avatarcontrollertest.php | 3 --- tests/lib/appframework/http/RequestTest.php | 1 - 8 files changed, 11 deletions(-) diff --git a/apps/files_external/command/listcommand.php b/apps/files_external/command/listcommand.php index 4c027ffcb8e..baba9be59f5 100644 --- a/apps/files_external/command/listcommand.php +++ b/apps/files_external/command/listcommand.php @@ -29,7 +29,6 @@ use OCP\IUserManager; use OCP\IUserSession; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\Table; -use Symfony\Component\Console\Helper\TableHelper; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; diff --git a/apps/files_sharing/tests/locking.php b/apps/files_sharing/tests/locking.php index 3b8900f2061..ad7b6b3e8a3 100644 --- a/apps/files_sharing/tests/locking.php +++ b/apps/files_sharing/tests/locking.php @@ -24,7 +24,6 @@ namespace OCA\Files_sharing\Tests; use OC\Files\Filesystem; use OC\Files\View; -use OC\Lock\MemcacheLockingProvider; use OCP\Lock\ILockingProvider; /** diff --git a/lib/private/appframework/utility/simplecontainer.php b/lib/private/appframework/utility/simplecontainer.php index bcae351e023..e55d4e20a81 100644 --- a/lib/private/appframework/utility/simplecontainer.php +++ b/lib/private/appframework/utility/simplecontainer.php @@ -29,9 +29,7 @@ namespace OC\AppFramework\Utility; use ReflectionClass; use ReflectionException; use Closure; - use Pimple\Container; - use OCP\AppFramework\QueryException; use OCP\IContainer; diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php index 9f243c15a4c..9d1b7150687 100644 --- a/lib/private/files/filesystem.php +++ b/lib/private/files/filesystem.php @@ -58,7 +58,6 @@ namespace OC\Files; -use OC\Cache\File; use OC\Files\Config\MountProviderCollection; use OC\Files\Storage\StorageFactory; use OCP\Files\Config\IMountProvider; diff --git a/lib/private/session/cryptowrapper.php b/lib/private/session/cryptowrapper.php index c79778587e0..177f11ffb70 100644 --- a/lib/private/session/cryptowrapper.php +++ b/lib/private/session/cryptowrapper.php @@ -23,7 +23,6 @@ namespace OC\Session; -use OCP\AppFramework\Utility\ITimeFactory; use OCP\IConfig; use OCP\IRequest; use OCP\ISession; diff --git a/settings/controller/userscontroller.php b/settings/controller/userscontroller.php index 0164d3bcee7..8ad975fd664 100644 --- a/settings/controller/userscontroller.php +++ b/settings/controller/userscontroller.php @@ -27,7 +27,6 @@ namespace OC\Settings\Controller; use OC\AppFramework\Http; -use OC\Settings\Factory\SubAdminFactory; use OC\User\User; use OCP\App\IAppManager; use OCP\AppFramework\Controller; diff --git a/tests/core/avatar/avatarcontrollertest.php b/tests/core/avatar/avatarcontrollertest.php index efe41763ff7..a113add72b9 100644 --- a/tests/core/avatar/avatarcontrollertest.php +++ b/tests/core/avatar/avatarcontrollertest.php @@ -23,14 +23,11 @@ namespace OC\Core\Avatar; use OC; use OC\Core\Application; use OCP\AppFramework\IAppContainer; -use OC\Files\Filesystem; use OCP\AppFramework\Http; -use OCP\Image; use OCP\Files\Folder; use OCP\Files\File; use OCP\IUser; use OCP\IAvatar; - use Test\Traits\UserTrait; /** diff --git a/tests/lib/appframework/http/RequestTest.php b/tests/lib/appframework/http/RequestTest.php index 92a2cc01dd2..32603d0da59 100644 --- a/tests/lib/appframework/http/RequestTest.php +++ b/tests/lib/appframework/http/RequestTest.php @@ -10,7 +10,6 @@ namespace OC\AppFramework\Http; -use OC\Security\Crypto; use OCP\Security\ISecureRandom; use OCP\IConfig; -- 2.39.5