aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Activity/IEventMerger.php1
-rw-r--r--lib/public/AppFramework/App.php1
-rw-r--r--lib/public/AppFramework/Db/DoesNotExistException.php1
-rw-r--r--lib/public/AppFramework/Db/Entity.php1
-rw-r--r--lib/public/AppFramework/Db/MultipleObjectsReturnedException.php1
-rw-r--r--lib/public/AppFramework/Http/DownloadResponse.php1
-rw-r--r--lib/public/AppFramework/Http/ICallbackResponse.php1
-rw-r--r--lib/public/AppFramework/Http/IOutput.php1
-rw-r--r--lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php1
-rw-r--r--lib/public/AppFramework/Http/TemplateResponse.php1
-rw-r--r--lib/public/AppFramework/Utility/ITimeFactory.php1
-rw-r--r--lib/public/BackgroundJob/IJob.php1
-rw-r--r--lib/public/Calendar/Resource/IBackend.php1
-rw-r--r--lib/public/Calendar/Room/IBackend.php1
-rw-r--r--lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php1
-rw-r--r--lib/public/Collaboration/Resources/ResourceException.php1
-rw-r--r--lib/public/DB/QueryBuilder/IExpressionBuilder.php1
-rw-r--r--lib/public/DB/QueryBuilder/IQueryBuilder.php1
-rw-r--r--lib/public/Dashboard/IDashboardManager.php1
-rw-r--r--lib/public/Dashboard/IDashboardWidget.php1
-rw-r--r--lib/public/Dashboard/Model/IWidgetConfig.php1
-rw-r--r--lib/public/Dashboard/Model/IWidgetRequest.php1
-rw-r--r--lib/public/Dashboard/Model/WidgetSetting.php1
-rw-r--r--lib/public/Dashboard/Model/WidgetSetup.php1
-rw-r--r--lib/public/Dashboard/Model/WidgetTemplate.php1
-rw-r--r--lib/public/Dashboard/Service/IEventsService.php1
-rw-r--r--lib/public/Dashboard/Service/IWidgetsService.php1
-rw-r--r--lib/public/DirectEditing/ACreateEmpty.php1
-rw-r--r--lib/public/DirectEditing/IEditor.php1
-rw-r--r--lib/public/DirectEditing/IToken.php1
-rw-r--r--lib/public/Encryption/Exceptions/GenericEncryptionException.php1
-rw-r--r--lib/public/Encryption/IEncryptionModule.php1
-rw-r--r--lib/public/Files/Cache/ICache.php1
-rw-r--r--lib/public/Files/Folder.php1
-rw-r--r--lib/public/Files/IMimeTypeDetector.php1
-rw-r--r--lib/public/Files/Storage/IStorageFactory.php1
-rw-r--r--lib/public/Files/StorageNotAvailableException.php1
-rw-r--r--lib/public/Files_FullTextSearch/Model/AFilesDocument.php1
-rw-r--r--lib/public/FullTextSearch/IFullTextSearchManager.php1
-rw-r--r--lib/public/FullTextSearch/IFullTextSearchPlatform.php1
-rw-r--r--lib/public/FullTextSearch/IFullTextSearchProvider.php1
-rw-r--r--lib/public/FullTextSearch/Model/IDocumentAccess.php1
-rw-r--r--lib/public/FullTextSearch/Model/IIndex.php1
-rw-r--r--lib/public/FullTextSearch/Model/IIndexDocument.php1
-rw-r--r--lib/public/FullTextSearch/Model/IIndexOptions.php1
-rw-r--r--lib/public/FullTextSearch/Model/IRunner.php1
-rw-r--r--lib/public/FullTextSearch/Model/ISearchOption.php1
-rw-r--r--lib/public/FullTextSearch/Model/ISearchRequest.php1
-rw-r--r--lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php1
-rw-r--r--lib/public/FullTextSearch/Model/ISearchResult.php1
-rw-r--r--lib/public/FullTextSearch/Model/ISearchTemplate.php1
-rw-r--r--lib/public/FullTextSearch/Service/IIndexService.php1
-rw-r--r--lib/public/FullTextSearch/Service/IProviderService.php1
-rw-r--r--lib/public/FullTextSearch/Service/ISearchService.php1
-rw-r--r--lib/public/IDBConnection.php1
-rw-r--r--lib/public/ISearch.php1
-rw-r--r--lib/public/IServerContainer.php1
-rw-r--r--lib/public/IUser.php1
-rw-r--r--lib/public/IUserManager.php1
-rw-r--r--lib/public/Lock/ManuallyLockedException.php1
-rw-r--r--lib/public/Notification/AlreadyProcessedException.php1
-rw-r--r--lib/public/RichObjectStrings/Definitions.php1
-rw-r--r--lib/public/SabrePluginEvent.php1
-rw-r--r--lib/public/SabrePluginException.php1
-rw-r--r--lib/public/Security/IContentSecurityPolicyManager.php1
-rw-r--r--lib/public/Share/Exceptions/GenericShareException.php1
-rw-r--r--lib/public/WorkflowEngine/IFileCheck.php1
67 files changed, 14 insertions, 53 deletions
diff --git a/lib/public/Activity/IEventMerger.php b/lib/public/Activity/IEventMerger.php
index a8f75875c6f..90d9cecb756 100644
--- a/lib/public/Activity/IEventMerger.php
+++ b/lib/public/Activity/IEventMerger.php
@@ -23,7 +23,6 @@
namespace OCP\Activity;
-
/**
* Interface EventMerger
*
diff --git a/lib/public/AppFramework/App.php b/lib/public/AppFramework/App.php
index d6bf23e4afe..7bf9e72637b 100644
--- a/lib/public/AppFramework/App.php
+++ b/lib/public/AppFramework/App.php
@@ -37,6 +37,7 @@ declare(strict_types=1);
*/
namespace OCP\AppFramework;
+
use OC\AppFramework\Routing\RouteConfig;
use OC\ServerContainer;
use OCP\Route\IRouter;
diff --git a/lib/public/AppFramework/Db/DoesNotExistException.php b/lib/public/AppFramework/Db/DoesNotExistException.php
index 45008473c21..d401bcb5f8b 100644
--- a/lib/public/AppFramework/Db/DoesNotExistException.php
+++ b/lib/public/AppFramework/Db/DoesNotExistException.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCP\AppFramework\Db;
-
/**
* This is returned or should be returned when a find request does not find an
* entry in the database
diff --git a/lib/public/AppFramework/Db/Entity.php b/lib/public/AppFramework/Db/Entity.php
index 7340df55fc4..3735c83cf81 100644
--- a/lib/public/AppFramework/Db/Entity.php
+++ b/lib/public/AppFramework/Db/Entity.php
@@ -25,7 +25,6 @@
namespace OCP\AppFramework\Db;
-
use function lcfirst;
use function substr;
diff --git a/lib/public/AppFramework/Db/MultipleObjectsReturnedException.php b/lib/public/AppFramework/Db/MultipleObjectsReturnedException.php
index 0f37d16cffc..d5fd63bd405 100644
--- a/lib/public/AppFramework/Db/MultipleObjectsReturnedException.php
+++ b/lib/public/AppFramework/Db/MultipleObjectsReturnedException.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCP\AppFramework\Db;
-
/**
* This is returned or should be returned when a find request finds more than one
* row
diff --git a/lib/public/AppFramework/Http/DownloadResponse.php b/lib/public/AppFramework/Http/DownloadResponse.php
index 2f808ff156c..c28550a0bbd 100644
--- a/lib/public/AppFramework/Http/DownloadResponse.php
+++ b/lib/public/AppFramework/Http/DownloadResponse.php
@@ -25,7 +25,6 @@
namespace OCP\AppFramework\Http;
-
/**
* Prompts the user to download the a file
* @since 7.0.0
diff --git a/lib/public/AppFramework/Http/ICallbackResponse.php b/lib/public/AppFramework/Http/ICallbackResponse.php
index f12a406120a..ca2f5f424ff 100644
--- a/lib/public/AppFramework/Http/ICallbackResponse.php
+++ b/lib/public/AppFramework/Http/ICallbackResponse.php
@@ -25,7 +25,6 @@
namespace OCP\AppFramework\Http;
-
/**
* Interface ICallbackResponse
*
diff --git a/lib/public/AppFramework/Http/IOutput.php b/lib/public/AppFramework/Http/IOutput.php
index 082e5e40046..83d65857c16 100644
--- a/lib/public/AppFramework/Http/IOutput.php
+++ b/lib/public/AppFramework/Http/IOutput.php
@@ -26,7 +26,6 @@
namespace OCP\AppFramework\Http;
-
/**
* Very thin wrapper class to make output testable
* @since 8.1.0
diff --git a/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php b/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php
index b34ede45dfd..9072ca8a059 100644
--- a/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php
+++ b/lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCP\AppFramework\Http;
-
/**
* Redirects to the default app
* @since 16.0.0
diff --git a/lib/public/AppFramework/Http/TemplateResponse.php b/lib/public/AppFramework/Http/TemplateResponse.php
index 99219d6eb0e..5ce7c3a7966 100644
--- a/lib/public/AppFramework/Http/TemplateResponse.php
+++ b/lib/public/AppFramework/Http/TemplateResponse.php
@@ -33,7 +33,6 @@
namespace OCP\AppFramework\Http;
-
/**
* Response for a normal template
* @since 6.0.0
diff --git a/lib/public/AppFramework/Utility/ITimeFactory.php b/lib/public/AppFramework/Utility/ITimeFactory.php
index 08266ec775d..2ab10986f19 100644
--- a/lib/public/AppFramework/Utility/ITimeFactory.php
+++ b/lib/public/AppFramework/Utility/ITimeFactory.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCP\AppFramework\Utility;
-
/**
* Needed to mock calls to time()
* @since 8.0.0
diff --git a/lib/public/BackgroundJob/IJob.php b/lib/public/BackgroundJob/IJob.php
index 719d0ea013a..d1d763fd5e4 100644
--- a/lib/public/BackgroundJob/IJob.php
+++ b/lib/public/BackgroundJob/IJob.php
@@ -24,6 +24,7 @@
*/
namespace OCP\BackgroundJob;
+
use OCP\ILogger;
/**
diff --git a/lib/public/Calendar/Resource/IBackend.php b/lib/public/Calendar/Resource/IBackend.php
index 416643919ec..474d5f902ee 100644
--- a/lib/public/Calendar/Resource/IBackend.php
+++ b/lib/public/Calendar/Resource/IBackend.php
@@ -22,6 +22,7 @@
*/
namespace OCP\Calendar\Resource;
+
use OCP\Calendar\BackendTemporarilyUnavailableException;
/**
diff --git a/lib/public/Calendar/Room/IBackend.php b/lib/public/Calendar/Room/IBackend.php
index 00f8b64a41e..d0d3e70dc17 100644
--- a/lib/public/Calendar/Room/IBackend.php
+++ b/lib/public/Calendar/Room/IBackend.php
@@ -22,6 +22,7 @@
*/
namespace OCP\Calendar\Room;
+
use OCP\Calendar\BackendTemporarilyUnavailableException;
/**
diff --git a/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php b/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php
index cd711ea20b2..6b46d9157de 100644
--- a/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php
+++ b/lib/public/Collaboration/AutoComplete/AutoCompleteEvent.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Collaboration\AutoComplete;
-
use Symfony\Component\EventDispatcher\GenericEvent;
/**
diff --git a/lib/public/Collaboration/Resources/ResourceException.php b/lib/public/Collaboration/Resources/ResourceException.php
index 81bace8f085..8aa72447c95 100644
--- a/lib/public/Collaboration/Resources/ResourceException.php
+++ b/lib/public/Collaboration/Resources/ResourceException.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Collaboration\Resources;
-
/**
* @since 16.0.0
*/
diff --git a/lib/public/DB/QueryBuilder/IExpressionBuilder.php b/lib/public/DB/QueryBuilder/IExpressionBuilder.php
index 1db98ba98f4..5f17585a131 100644
--- a/lib/public/DB/QueryBuilder/IExpressionBuilder.php
+++ b/lib/public/DB/QueryBuilder/IExpressionBuilder.php
@@ -25,7 +25,6 @@
namespace OCP\DB\QueryBuilder;
-
use Doctrine\DBAL\Query\Expression\ExpressionBuilder;
/**
diff --git a/lib/public/DB/QueryBuilder/IQueryBuilder.php b/lib/public/DB/QueryBuilder/IQueryBuilder.php
index ece5d36c3eb..d65872388f9 100644
--- a/lib/public/DB/QueryBuilder/IQueryBuilder.php
+++ b/lib/public/DB/QueryBuilder/IQueryBuilder.php
@@ -26,7 +26,6 @@
namespace OCP\DB\QueryBuilder;
-
use Doctrine\DBAL\Connection;
/**
diff --git a/lib/public/Dashboard/IDashboardManager.php b/lib/public/Dashboard/IDashboardManager.php
index 683ead5512e..7805bc236e8 100644
--- a/lib/public/Dashboard/IDashboardManager.php
+++ b/lib/public/Dashboard/IDashboardManager.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Dashboard;
-
use OCP\Dashboard\Exceptions\DashboardAppNotAvailableException;
use OCP\Dashboard\Model\IWidgetConfig;
use OCP\Dashboard\Service\IEventsService;
diff --git a/lib/public/Dashboard/IDashboardWidget.php b/lib/public/Dashboard/IDashboardWidget.php
index 8532a8700a1..9010845355a 100644
--- a/lib/public/Dashboard/IDashboardWidget.php
+++ b/lib/public/Dashboard/IDashboardWidget.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCP\Dashboard;
-
use OCP\Dashboard\Model\IWidgetConfig;
use OCP\Dashboard\Model\IWidgetRequest;
use OCP\Dashboard\Model\WidgetSetup;
diff --git a/lib/public/Dashboard/Model/IWidgetConfig.php b/lib/public/Dashboard/Model/IWidgetConfig.php
index 7d3d88f3241..bc33b37f544 100644
--- a/lib/public/Dashboard/Model/IWidgetConfig.php
+++ b/lib/public/Dashboard/Model/IWidgetConfig.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Dashboard\Model;
-
use OCP\Dashboard\IDashboardWidget;
/**
diff --git a/lib/public/Dashboard/Model/IWidgetRequest.php b/lib/public/Dashboard/Model/IWidgetRequest.php
index 0a49e34ab30..b646935978a 100644
--- a/lib/public/Dashboard/Model/IWidgetRequest.php
+++ b/lib/public/Dashboard/Model/IWidgetRequest.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Dashboard\Model;
-
use OCP\Dashboard\IDashboardWidget;
/**
diff --git a/lib/public/Dashboard/Model/WidgetSetting.php b/lib/public/Dashboard/Model/WidgetSetting.php
index 29744c56fac..b20d8d68b38 100644
--- a/lib/public/Dashboard/Model/WidgetSetting.php
+++ b/lib/public/Dashboard/Model/WidgetSetting.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Dashboard\Model;
-
use JsonSerializable;
/**
diff --git a/lib/public/Dashboard/Model/WidgetSetup.php b/lib/public/Dashboard/Model/WidgetSetup.php
index 4d9884fd470..80885705633 100644
--- a/lib/public/Dashboard/Model/WidgetSetup.php
+++ b/lib/public/Dashboard/Model/WidgetSetup.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Dashboard\Model;
-
use JsonSerializable;
/**
diff --git a/lib/public/Dashboard/Model/WidgetTemplate.php b/lib/public/Dashboard/Model/WidgetTemplate.php
index ba4447638a1..979a49a342d 100644
--- a/lib/public/Dashboard/Model/WidgetTemplate.php
+++ b/lib/public/Dashboard/Model/WidgetTemplate.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Dashboard\Model;
-
use JsonSerializable;
/**
diff --git a/lib/public/Dashboard/Service/IEventsService.php b/lib/public/Dashboard/Service/IEventsService.php
index a036149599c..a9898f578e6 100644
--- a/lib/public/Dashboard/Service/IEventsService.php
+++ b/lib/public/Dashboard/Service/IEventsService.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Dashboard\Service;
-
use OCP\Dashboard\IDashboardManager;
/**
diff --git a/lib/public/Dashboard/Service/IWidgetsService.php b/lib/public/Dashboard/Service/IWidgetsService.php
index 73a0bd7b171..dfa89ec1f59 100644
--- a/lib/public/Dashboard/Service/IWidgetsService.php
+++ b/lib/public/Dashboard/Service/IWidgetsService.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Dashboard\Service;
-
use OCP\Dashboard\Model\IWidgetConfig;
/**
diff --git a/lib/public/DirectEditing/ACreateEmpty.php b/lib/public/DirectEditing/ACreateEmpty.php
index 022bccf9516..71a18c94e23 100644
--- a/lib/public/DirectEditing/ACreateEmpty.php
+++ b/lib/public/DirectEditing/ACreateEmpty.php
@@ -23,7 +23,6 @@
namespace OCP\DirectEditing;
-
use OCP\Files\File;
/**
diff --git a/lib/public/DirectEditing/IEditor.php b/lib/public/DirectEditing/IEditor.php
index 5b376ba2ad5..22ec130aee0 100644
--- a/lib/public/DirectEditing/IEditor.php
+++ b/lib/public/DirectEditing/IEditor.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\DirectEditing;
-
use OCP\AppFramework\Http\Response;
/**
diff --git a/lib/public/DirectEditing/IToken.php b/lib/public/DirectEditing/IToken.php
index 416b2ccb807..46c423053fe 100644
--- a/lib/public/DirectEditing/IToken.php
+++ b/lib/public/DirectEditing/IToken.php
@@ -23,7 +23,6 @@
namespace OCP\DirectEditing;
-
use OCP\Files\File;
use OCP\Files\NotFoundException;
diff --git a/lib/public/Encryption/Exceptions/GenericEncryptionException.php b/lib/public/Encryption/Exceptions/GenericEncryptionException.php
index 938e6662a79..2124e5effea 100644
--- a/lib/public/Encryption/Exceptions/GenericEncryptionException.php
+++ b/lib/public/Encryption/Exceptions/GenericEncryptionException.php
@@ -25,6 +25,7 @@
*/
namespace OCP\Encryption\Exceptions;
+
use OC\HintException;
/**
diff --git a/lib/public/Encryption/IEncryptionModule.php b/lib/public/Encryption/IEncryptionModule.php
index 90d427d4a1a..9646fb90e93 100644
--- a/lib/public/Encryption/IEncryptionModule.php
+++ b/lib/public/Encryption/IEncryptionModule.php
@@ -25,6 +25,7 @@
*/
namespace OCP\Encryption;
+
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
diff --git a/lib/public/Files/Cache/ICache.php b/lib/public/Files/Cache/ICache.php
index a4c9bfe3e45..d1388f02b1d 100644
--- a/lib/public/Files/Cache/ICache.php
+++ b/lib/public/Files/Cache/ICache.php
@@ -21,6 +21,7 @@
*/
namespace OCP\Files\Cache;
+
use OCP\Files\Search\ISearchQuery;
/**
diff --git a/lib/public/Files/Folder.php b/lib/public/Files/Folder.php
index a78a9ca8f78..4c05b0fb490 100644
--- a/lib/public/Files/Folder.php
+++ b/lib/public/Files/Folder.php
@@ -32,6 +32,7 @@
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;
+
use OCP\Files\Search\ISearchQuery;
/**
diff --git a/lib/public/Files/IMimeTypeDetector.php b/lib/public/Files/IMimeTypeDetector.php
index ec80b3480d1..bb75ce742c5 100644
--- a/lib/public/Files/IMimeTypeDetector.php
+++ b/lib/public/Files/IMimeTypeDetector.php
@@ -26,7 +26,6 @@
namespace OCP\Files;
-
/**
* Interface IMimeTypeDetector
* @package OCP\Files
diff --git a/lib/public/Files/Storage/IStorageFactory.php b/lib/public/Files/Storage/IStorageFactory.php
index e5a94de34f9..e9550fdaa29 100644
--- a/lib/public/Files/Storage/IStorageFactory.php
+++ b/lib/public/Files/Storage/IStorageFactory.php
@@ -23,6 +23,7 @@
*/
namespace OCP\Files\Storage;
+
use OCP\Files\Mount\IMountPoint;
/**
diff --git a/lib/public/Files/StorageNotAvailableException.php b/lib/public/Files/StorageNotAvailableException.php
index 0b1defaded8..052a6b5ad78 100644
--- a/lib/public/Files/StorageNotAvailableException.php
+++ b/lib/public/Files/StorageNotAvailableException.php
@@ -36,6 +36,7 @@
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;
+
use OC\HintException;
/**
diff --git a/lib/public/Files_FullTextSearch/Model/AFilesDocument.php b/lib/public/Files_FullTextSearch/Model/AFilesDocument.php
index 24c14089bcc..1ca6bff98c9 100644
--- a/lib/public/Files_FullTextSearch/Model/AFilesDocument.php
+++ b/lib/public/Files_FullTextSearch/Model/AFilesDocument.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Files_FullTextSearch\Model;
-
use OC\FullTextSearch\Model\IndexDocument;
use OCP\FullTextSearch\Model\IIndexDocument;
diff --git a/lib/public/FullTextSearch/IFullTextSearchManager.php b/lib/public/FullTextSearch/IFullTextSearchManager.php
index 8730a344ded..e420e91f3a1 100644
--- a/lib/public/FullTextSearch/IFullTextSearchManager.php
+++ b/lib/public/FullTextSearch/IFullTextSearchManager.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch;
-
use OCP\FullTextSearch\Model\IIndex;
use OCP\FullTextSearch\Model\ISearchResult;
use OCP\FullTextSearch\Service\IIndexService;
diff --git a/lib/public/FullTextSearch/IFullTextSearchPlatform.php b/lib/public/FullTextSearch/IFullTextSearchPlatform.php
index a22e6930383..797c179082e 100644
--- a/lib/public/FullTextSearch/IFullTextSearchPlatform.php
+++ b/lib/public/FullTextSearch/IFullTextSearchPlatform.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch;
-
use OCP\FullTextSearch\Model\IDocumentAccess;
use OCP\FullTextSearch\Model\IIndex;
use OCP\FullTextSearch\Model\IIndexDocument;
diff --git a/lib/public/FullTextSearch/IFullTextSearchProvider.php b/lib/public/FullTextSearch/IFullTextSearchProvider.php
index f9a56b40e85..4a37001754a 100644
--- a/lib/public/FullTextSearch/IFullTextSearchProvider.php
+++ b/lib/public/FullTextSearch/IFullTextSearchProvider.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch;
-
use OCP\FullTextSearch\Model\IIndex;
use OCP\FullTextSearch\Model\IIndexDocument;
use OCP\FullTextSearch\Model\IIndexOptions;
diff --git a/lib/public/FullTextSearch/Model/IDocumentAccess.php b/lib/public/FullTextSearch/Model/IDocumentAccess.php
index 713a018e661..478072593aa 100644
--- a/lib/public/FullTextSearch/Model/IDocumentAccess.php
+++ b/lib/public/FullTextSearch/Model/IDocumentAccess.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
/**
* Interface IDocumentAccess
*
diff --git a/lib/public/FullTextSearch/Model/IIndex.php b/lib/public/FullTextSearch/Model/IIndex.php
index 0f3f718d7ba..7078962d99e 100644
--- a/lib/public/FullTextSearch/Model/IIndex.php
+++ b/lib/public/FullTextSearch/Model/IIndex.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
/**
* Interface IIndex
*
diff --git a/lib/public/FullTextSearch/Model/IIndexDocument.php b/lib/public/FullTextSearch/Model/IIndexDocument.php
index e86582b9234..667d2c15c7f 100644
--- a/lib/public/FullTextSearch/Model/IIndexDocument.php
+++ b/lib/public/FullTextSearch/Model/IIndexDocument.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
/**
* Class IIndexDocument
*
diff --git a/lib/public/FullTextSearch/Model/IIndexOptions.php b/lib/public/FullTextSearch/Model/IIndexOptions.php
index daa8f5a0c7a..8719289d746 100644
--- a/lib/public/FullTextSearch/Model/IIndexOptions.php
+++ b/lib/public/FullTextSearch/Model/IIndexOptions.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
/**
* Interface IIndexOptions
*
diff --git a/lib/public/FullTextSearch/Model/IRunner.php b/lib/public/FullTextSearch/Model/IRunner.php
index c4eecfa4894..d92eb789d64 100644
--- a/lib/public/FullTextSearch/Model/IRunner.php
+++ b/lib/public/FullTextSearch/Model/IRunner.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
/**
* Interface IRunner
*
diff --git a/lib/public/FullTextSearch/Model/ISearchOption.php b/lib/public/FullTextSearch/Model/ISearchOption.php
index bbd2ac4827a..3f893c516d9 100644
--- a/lib/public/FullTextSearch/Model/ISearchOption.php
+++ b/lib/public/FullTextSearch/Model/ISearchOption.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
/**
* @since 16.0.0
*
diff --git a/lib/public/FullTextSearch/Model/ISearchRequest.php b/lib/public/FullTextSearch/Model/ISearchRequest.php
index 2453c1e871c..d48b74288fd 100644
--- a/lib/public/FullTextSearch/Model/ISearchRequest.php
+++ b/lib/public/FullTextSearch/Model/ISearchRequest.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
/**
* Interface ISearchRequest
*
diff --git a/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php b/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php
index ca11b0c9317..c72d15a6930 100644
--- a/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php
+++ b/lib/public/FullTextSearch/Model/ISearchRequestSimpleQuery.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
/**
* Interface ISearchRequestSimpleQuery
*
diff --git a/lib/public/FullTextSearch/Model/ISearchResult.php b/lib/public/FullTextSearch/Model/ISearchResult.php
index 775c4314bb1..1d8cb5d8037 100644
--- a/lib/public/FullTextSearch/Model/ISearchResult.php
+++ b/lib/public/FullTextSearch/Model/ISearchResult.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
use OCP\FullTextSearch\IFullTextSearchProvider;
/**
diff --git a/lib/public/FullTextSearch/Model/ISearchTemplate.php b/lib/public/FullTextSearch/Model/ISearchTemplate.php
index 43d1a586a1d..b63bae43a0a 100644
--- a/lib/public/FullTextSearch/Model/ISearchTemplate.php
+++ b/lib/public/FullTextSearch/Model/ISearchTemplate.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Model;
-
use OCP\FullTextSearch\IFullTextSearchProvider;
/**
diff --git a/lib/public/FullTextSearch/Service/IIndexService.php b/lib/public/FullTextSearch/Service/IIndexService.php
index 3c3bd4bbe1f..f660909c9ca 100644
--- a/lib/public/FullTextSearch/Service/IIndexService.php
+++ b/lib/public/FullTextSearch/Service/IIndexService.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Service;
-
use OCP\FullTextSearch\Model\IIndex;
/**
diff --git a/lib/public/FullTextSearch/Service/IProviderService.php b/lib/public/FullTextSearch/Service/IProviderService.php
index 8d4b68e4136..50c32649357 100644
--- a/lib/public/FullTextSearch/Service/IProviderService.php
+++ b/lib/public/FullTextSearch/Service/IProviderService.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Service;
-
/**
* Interface IProviderService
*
diff --git a/lib/public/FullTextSearch/Service/ISearchService.php b/lib/public/FullTextSearch/Service/ISearchService.php
index 8c2152855a1..89fa1a444e2 100644
--- a/lib/public/FullTextSearch/Service/ISearchService.php
+++ b/lib/public/FullTextSearch/Service/ISearchService.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\FullTextSearch\Service;
-
use OCP\FullTextSearch\Model\ISearchRequest;
use OCP\FullTextSearch\Model\ISearchResult;
diff --git a/lib/public/IDBConnection.php b/lib/public/IDBConnection.php
index a7aa9d448f1..405b4ba1b04 100644
--- a/lib/public/IDBConnection.php
+++ b/lib/public/IDBConnection.php
@@ -38,6 +38,7 @@
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP;
+
use Doctrine\DBAL\Schema\Schema;
use OCP\DB\QueryBuilder\IQueryBuilder;
diff --git a/lib/public/ISearch.php b/lib/public/ISearch.php
index bdfe8431f13..fa6fc49c976 100644
--- a/lib/public/ISearch.php
+++ b/lib/public/ISearch.php
@@ -27,7 +27,6 @@
namespace OCP;
-
/**
* Small Interface for Search
* @since 7.0.0
diff --git a/lib/public/IServerContainer.php b/lib/public/IServerContainer.php
index 7443f32bfe3..40f8d93f350 100644
--- a/lib/public/IServerContainer.php
+++ b/lib/public/IServerContainer.php
@@ -47,6 +47,7 @@
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP;
+
use OCP\Federation\ICloudFederationFactory;
use OCP\Federation\ICloudFederationProviderManager;
use OCP\Log\ILogFactory;
diff --git a/lib/public/IUser.php b/lib/public/IUser.php
index a5e94bf8ac4..910c1a06d9d 100644
--- a/lib/public/IUser.php
+++ b/lib/public/IUser.php
@@ -28,7 +28,6 @@
namespace OCP;
-
/**
* Interface IUser
*
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php
index 33e90a617a6..a8df1a1af7e 100644
--- a/lib/public/IUserManager.php
+++ b/lib/public/IUserManager.php
@@ -30,7 +30,6 @@
namespace OCP;
-
/**
* Class Manager
*
diff --git a/lib/public/Lock/ManuallyLockedException.php b/lib/public/Lock/ManuallyLockedException.php
index 12567456e18..1609727f4e8 100644
--- a/lib/public/Lock/ManuallyLockedException.php
+++ b/lib/public/Lock/ManuallyLockedException.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCP\Lock;
-
/**
* Class ManuallyLockedException
*
diff --git a/lib/public/Notification/AlreadyProcessedException.php b/lib/public/Notification/AlreadyProcessedException.php
index 2cb1fc92765..251221004c9 100644
--- a/lib/public/Notification/AlreadyProcessedException.php
+++ b/lib/public/Notification/AlreadyProcessedException.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCP\Notification;
-
/**
* @since 17.0.0
*/
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php
index a4cf4dac725..6b293dfff6d 100644
--- a/lib/public/RichObjectStrings/Definitions.php
+++ b/lib/public/RichObjectStrings/Definitions.php
@@ -26,7 +26,6 @@
namespace OCP\RichObjectStrings;
-
/**
* Class Definitions
*
diff --git a/lib/public/SabrePluginEvent.php b/lib/public/SabrePluginEvent.php
index b04ca420e32..c9f80d184c2 100644
--- a/lib/public/SabrePluginEvent.php
+++ b/lib/public/SabrePluginEvent.php
@@ -25,7 +25,6 @@
namespace OCP;
-
use OCP\AppFramework\Http;
use OCP\EventDispatcher\Event;
use Sabre\DAV\Server;
diff --git a/lib/public/SabrePluginException.php b/lib/public/SabrePluginException.php
index 3f46885a11a..7d2220999e5 100644
--- a/lib/public/SabrePluginException.php
+++ b/lib/public/SabrePluginException.php
@@ -22,7 +22,6 @@
namespace OCP;
-
use Sabre\DAV\Exception;
/**
diff --git a/lib/public/Security/IContentSecurityPolicyManager.php b/lib/public/Security/IContentSecurityPolicyManager.php
index bd579703cad..465a8c317f6 100644
--- a/lib/public/Security/IContentSecurityPolicyManager.php
+++ b/lib/public/Security/IContentSecurityPolicyManager.php
@@ -22,6 +22,7 @@
*/
namespace OCP\Security;
+
use OCP\AppFramework\Http\EmptyContentSecurityPolicy;
/**
diff --git a/lib/public/Share/Exceptions/GenericShareException.php b/lib/public/Share/Exceptions/GenericShareException.php
index b9c134b8d00..3714edbfc33 100644
--- a/lib/public/Share/Exceptions/GenericShareException.php
+++ b/lib/public/Share/Exceptions/GenericShareException.php
@@ -23,6 +23,7 @@
*/
namespace OCP\Share\Exceptions;
+
use OC\HintException;
/**
diff --git a/lib/public/WorkflowEngine/IFileCheck.php b/lib/public/WorkflowEngine/IFileCheck.php
index b94f3e512d3..d11a5011367 100644
--- a/lib/public/WorkflowEngine/IFileCheck.php
+++ b/lib/public/WorkflowEngine/IFileCheck.php
@@ -27,7 +27,6 @@ declare(strict_types=1);
namespace OCP\WorkflowEngine;
-
use OCP\Files\Storage\IStorage;
/**