From c16bb363d01f5e9272c151f62e80b1e80f83b178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Mon, 16 Sep 2024 19:39:17 +0200 Subject: [PATCH] chore: composer run cs:fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/Controller/FavoritesController.php | 2 +- lib/Controller/PublicFavoritePageController.php | 1 - lib/Controller/PublicFavoritesController.php | 1 - lib/Controller/PublicPageController.php | 1 - lib/Migration/InstallScan.php | 1 - lib/Service/FavoritesService.php | 2 +- lib/Service/TracksService.php | 1 - lib/Settings/AdminSettings.php | 2 -- 8 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/Controller/FavoritesController.php b/lib/Controller/FavoritesController.php index 09a1d1fd..2d0b3592 100644 --- a/lib/Controller/FavoritesController.php +++ b/lib/Controller/FavoritesController.php @@ -21,8 +21,8 @@ use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Db\MultipleObjectsReturnedException; use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; -use OCP\Files\NotFoundException; use OCP\Files\Folder; +use OCP\Files\NotFoundException; use OCP\IConfig; use OCP\IDateTimeZone; use OCP\IGroupManager; diff --git a/lib/Controller/PublicFavoritePageController.php b/lib/Controller/PublicFavoritePageController.php index af17d1b6..2b455656 100644 --- a/lib/Controller/PublicFavoritePageController.php +++ b/lib/Controller/PublicFavoritePageController.php @@ -23,7 +23,6 @@ namespace OCA\Maps\Controller; -use OC; use OCA\Maps\DB\FavoriteShareMapper; use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Db\MultipleObjectsReturnedException; diff --git a/lib/Controller/PublicFavoritesController.php b/lib/Controller/PublicFavoritesController.php index f8625262..45dd977c 100644 --- a/lib/Controller/PublicFavoritesController.php +++ b/lib/Controller/PublicFavoritesController.php @@ -26,7 +26,6 @@ use OCP\IDateTimeZone; use OCP\IGroupManager; use OCP\IInitialStateService; use OCP\IL10N; -use OCP\ILogger; use OCP\IRequest; use OCP\IServerContainer; use OCP\ISession; diff --git a/lib/Controller/PublicPageController.php b/lib/Controller/PublicPageController.php index 055ca9d2..99a9e1cf 100644 --- a/lib/Controller/PublicPageController.php +++ b/lib/Controller/PublicPageController.php @@ -11,7 +11,6 @@ namespace OCA\Maps\Controller; -use OC\InitialStateService; use OC\Security\CSP\ContentSecurityPolicy; use OCA\Files\Event\LoadSidebar; use OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent; diff --git a/lib/Migration/InstallScan.php b/lib/Migration/InstallScan.php index 99128cdb..40ac0fd2 100644 --- a/lib/Migration/InstallScan.php +++ b/lib/Migration/InstallScan.php @@ -27,7 +27,6 @@ use OCA\Maps\BackgroundJob\LaunchUsersInstallScanJob; use OCP\BackgroundJob\IJobList; use OCP\Encryption\IManager; use OCP\IConfig; -use OCP\IDBConnection; use OCP\IUser; use OCP\IUserManager; use OCP\Migration\IOutput; diff --git a/lib/Service/FavoritesService.php b/lib/Service/FavoritesService.php index 800896bd..e2070d57 100644 --- a/lib/Service/FavoritesService.php +++ b/lib/Service/FavoritesService.php @@ -16,10 +16,10 @@ namespace OCA\Maps\Service; use OC\Archive\ZIP; -use OCP\Security\ISecureRandom; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IDBConnection; use OCP\IL10N; +use OCP\Security\ISecureRandom; use Psr\Log\LoggerInterface; class FavoritesService { diff --git a/lib/Service/TracksService.php b/lib/Service/TracksService.php index 96402ee1..4d8f495f 100644 --- a/lib/Service/TracksService.php +++ b/lib/Service/TracksService.php @@ -24,7 +24,6 @@ use OCP\Files\Search\ISearchBinaryOperator; use OCP\Files\Search\ISearchComparison; use OCP\IDBConnection; use OCP\IL10N; -use OCP\ILogger; use OCP\Share\IManager; use Psr\Log\LoggerInterface; diff --git a/lib/Settings/AdminSettings.php b/lib/Settings/AdminSettings.php index 1ba7bc84..7baa601b 100644 --- a/lib/Settings/AdminSettings.php +++ b/lib/Settings/AdminSettings.php @@ -5,8 +5,6 @@ namespace OCA\Maps\Settings; use OCP\AppFramework\Http\TemplateResponse; use OCP\IConfig; use OCP\IL10N; -use OCP\IRequest; -use OCP\IURLGenerator; use OCP\Settings\ISettings; class AdminSettings implements ISettings {