diff --git a/typo3/sysext/backend/Classes/Search/LiveSearch/PageRecordProvider.php b/typo3/sysext/backend/Classes/Search/LiveSearch/PageRecordProvider.php
index 52790294bd9523218266a69a78587fa98282d8f0..7bc8e7cf89cef0eca515fde85fce163de69a1343 100644
--- a/typo3/sysext/backend/Classes/Search/LiveSearch/PageRecordProvider.php
+++ b/typo3/sysext/backend/Classes/Search/LiveSearch/PageRecordProvider.php
@@ -18,7 +18,6 @@ declare(strict_types=1);
 namespace TYPO3\CMS\Backend\Search\LiveSearch;
 
 use Doctrine\DBAL\ArrayParameterType;
-use Hoa\Ustring\Search;
 use Psr\EventDispatcher\EventDispatcherInterface;
 use TYPO3\CMS\Backend\Routing\PreviewUriBuilder;
 use TYPO3\CMS\Backend\Routing\UriBuilder;
diff --git a/typo3/sysext/backend/Classes/Tree/Repository/PageTreeRepository.php b/typo3/sysext/backend/Classes/Tree/Repository/PageTreeRepository.php
index 2bb1281e9a343eebe5edb9377a4a16e2d04be60a..e48773390aac3a73777a1b317619363341d22b8f 100644
--- a/typo3/sysext/backend/Classes/Tree/Repository/PageTreeRepository.php
+++ b/typo3/sysext/backend/Classes/Tree/Repository/PageTreeRepository.php
@@ -25,7 +25,6 @@ use TYPO3\CMS\Core\Database\Query\QueryHelper;
 use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction;
 use TYPO3\CMS\Core\Database\Query\Restriction\WorkspaceRestriction;
 use TYPO3\CMS\Core\DataHandling\PlainDataResolver;
-use TYPO3\CMS\Core\Type\Bitmask\Permission;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Core\Versioning\VersionState;
 
diff --git a/typo3/sysext/core/Classes/Database/Schema/Parser/TableBuilder.php b/typo3/sysext/core/Classes/Database/Schema/Parser/TableBuilder.php
index 9e7b783a640ff3911346047d1019f1aaf56d9e48..66c3a148bd4514127e2a558a0a7d6ebb170e7b8e 100644
--- a/typo3/sysext/core/Classes/Database/Schema/Parser/TableBuilder.php
+++ b/typo3/sysext/core/Classes/Database/Schema/Parser/TableBuilder.php
@@ -22,7 +22,6 @@ use Doctrine\DBAL\Platforms\MySQLPlatform;
 use Doctrine\DBAL\Schema\Column;
 use Doctrine\DBAL\Schema\Index;
 use Doctrine\DBAL\Schema\Table;
-use Doctrine\DBAL\Types\Type;
 use Doctrine\DBAL\Types\Types;
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem;
diff --git a/typo3/sysext/core/Classes/Hooks/BackendUserGroupIntegrityCheck.php b/typo3/sysext/core/Classes/Hooks/BackendUserGroupIntegrityCheck.php
index c342d44646caa92783f72fd5c986bb415dd335da..d1dae7a6e93a2509893f286a22bbfae4e53e1ed4 100644
--- a/typo3/sysext/core/Classes/Hooks/BackendUserGroupIntegrityCheck.php
+++ b/typo3/sysext/core/Classes/Hooks/BackendUserGroupIntegrityCheck.php
@@ -16,7 +16,6 @@
 namespace TYPO3\CMS\Core\Hooks;
 
 use TYPO3\CMS\Backend\Utility\BackendUtility;
-use TYPO3\CMS\Core\DataHandling\DataHandler;
 use TYPO3\CMS\Core\Localization\LanguageService;
 use TYPO3\CMS\Core\Messaging\FlashMessage;
 use TYPO3\CMS\Core\Messaging\FlashMessageService;
diff --git a/typo3/sysext/core/Classes/Security/ContentSecurityPolicy/CoveringInterface.php b/typo3/sysext/core/Classes/Security/ContentSecurityPolicy/CoveringInterface.php
index 5706e28e9f081470bd115561edc7ac4230b412e7..daa459e5dfd693b20398580d1a19d3b774529541 100644
--- a/typo3/sysext/core/Classes/Security/ContentSecurityPolicy/CoveringInterface.php
+++ b/typo3/sysext/core/Classes/Security/ContentSecurityPolicy/CoveringInterface.php
@@ -17,8 +17,6 @@ declare(strict_types=1);
 
 namespace TYPO3\CMS\Core\Security\ContentSecurityPolicy;
 
-use TYPO3\CMS\Core\Http\Uri;
-
 /**
  * Interface to determine whether a value is covered by some other value in the scope of CSP,
  * e.g. URI `*.example.com` would "cover" URI `https://specific.example.com/path/file.js`
diff --git a/typo3/sysext/core/Classes/Session/UserSession.php b/typo3/sysext/core/Classes/Session/UserSession.php
index f22fabfdd5c56f0ccfa2cf8ccef78a9702b83ff9..4cf2cdb807588fab61070b37187edc66bb815cd9 100644
--- a/typo3/sysext/core/Classes/Session/UserSession.php
+++ b/typo3/sysext/core/Classes/Session/UserSession.php
@@ -17,7 +17,6 @@ declare(strict_types=1);
 
 namespace TYPO3\CMS\Core\Session;
 
-use Firebase\JWT\JWT;
 use TYPO3\CMS\Core\Security\JwtTrait;
 
 /**
diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ChildNodeTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ChildNodeTest.php
index 559953a68938394a071c277d908f8af6b0dc6fe4..8ac189d6da025118dc8ee2b91fd62139aaf3683f 100644
--- a/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ChildNodeTest.php
+++ b/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ChildNodeTest.php
@@ -19,7 +19,6 @@ namespace TYPO3\CMS\Core\Tests\Unit\TypoScript\AST\Node;
 
 use TYPO3\CMS\Core\TypoScript\AST\Node\ChildNode;
 use TYPO3\CMS\Core\TypoScript\AST\Node\ReferenceChildNode;
-use TYPO3\CMS\Core\TypoScript\AST\Node\RootNode;
 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 
 final class ChildNodeTest extends UnitTestCase
diff --git a/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php b/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php
index f50a4e9329483bf654f137474955f7b4d81e48d3..f5d539470ab46b07950afbc8e506a7cb740f4177 100644
--- a/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php
+++ b/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php
@@ -21,7 +21,6 @@ use Psr\Http\Message\ResponseInterface;
 use Psr\Http\Message\StreamFactoryInterface;
 use TYPO3\CMS\Core\Http\PropagateResponseException;
 use TYPO3\CMS\Core\Http\RedirectResponse;
-use TYPO3\CMS\Core\Http\Response;
 use TYPO3\CMS\Core\Messaging\FlashMessage;
 use TYPO3\CMS\Core\Messaging\FlashMessageQueue;
 use TYPO3\CMS\Core\Messaging\FlashMessageService;
@@ -40,7 +39,6 @@ use TYPO3\CMS\Extbase\Mvc\ExtbaseRequestParameters;
 use TYPO3\CMS\Extbase\Mvc\Request;
 use TYPO3\CMS\Extbase\Mvc\RequestInterface;
 use TYPO3\CMS\Extbase\Mvc\View\GenericViewResolver;
-use TYPO3\CMS\Extbase\Mvc\View\JsonView;
 use TYPO3\CMS\Extbase\Mvc\View\ViewResolverInterface;
 use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder;
 use TYPO3\CMS\Extbase\Property\Exception\TargetNotFoundException;
diff --git a/typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php b/typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php
index d853b29b5989e86710e939317917a93a35f7ce92..215664eef67f2d6ba3e4b4da842780a07034c455 100644
--- a/typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php
+++ b/typo3/sysext/extensionmanager/Classes/Controller/DownloadController.php
@@ -19,7 +19,6 @@ namespace TYPO3\CMS\Extensionmanager\Controller;
 
 use Psr\Http\Message\ResponseInterface;
 use TYPO3\CMS\Core\Configuration\ExtensionConfiguration;
-use TYPO3\CMS\Core\Messaging\FlashMessage;
 use TYPO3\CMS\Core\Type\ContextualFeedbackSeverity;
 use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
 use TYPO3\CMS\Extbase\Http\ForwardResponse;
diff --git a/typo3/sysext/form/Classes/Domain/Model/FormDefinition.php b/typo3/sysext/form/Classes/Domain/Model/FormDefinition.php
index 1698a4f5c98325d625be51f690756b77d5728fea..d8cf7ce8ada5d0cf7e872f5aecf812f98595e93a 100644
--- a/typo3/sysext/form/Classes/Domain/Model/FormDefinition.php
+++ b/typo3/sysext/form/Classes/Domain/Model/FormDefinition.php
@@ -23,7 +23,6 @@ namespace TYPO3\CMS\Form\Domain\Model;
 
 use TYPO3\CMS\Core\Utility\ArrayUtility;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
-use TYPO3\CMS\Extbase\Mvc\Request;
 use TYPO3\CMS\Extbase\Mvc\RequestInterface;
 use TYPO3\CMS\Extbase\Reflection\ObjectAccess;
 use TYPO3\CMS\Form\Domain\Exception\IdentifierNotValidException;
diff --git a/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php b/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php
index a22b1a06bc9dad9f87f3a970f0bcbfe93075d056..254ad19928fe7ece3e0a9896917b089b76f4b02f 100644
--- a/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php
+++ b/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php
@@ -22,7 +22,6 @@ use Psr\Http\Message\ServerRequestInterface;
 use Psr\Http\Server\MiddlewareInterface;
 use Psr\Http\Server\RequestHandlerInterface;
 use TYPO3\CMS\Core\TimeTracker\TimeTracker;
-use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
 
 /**
  * Initialization of TypoScriptFrontendController
diff --git a/typo3/sysext/install/Classes/Controller/ControllerTrait.php b/typo3/sysext/install/Classes/Controller/ControllerTrait.php
index 9ef2fe0471d5d8cb0b9ce1aa0169cf5234d1bbef..f6c5efc9ee42a6f34b291a1cd5eb01f0f71fe833 100644
--- a/typo3/sysext/install/Classes/Controller/ControllerTrait.php
+++ b/typo3/sysext/install/Classes/Controller/ControllerTrait.php
@@ -21,7 +21,6 @@ use TYPO3\CMS\Core\Security\ContentSecurityPolicy\Directive;
 use TYPO3\CMS\Core\Security\ContentSecurityPolicy\Policy;
 use TYPO3\CMS\Core\Security\ContentSecurityPolicy\SourceKeyword;
 use TYPO3\CMS\Core\Security\ContentSecurityPolicy\SourceScheme;
-use TYPO3\CMS\Core\Security\Nonce;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 
 /**
diff --git a/typo3/sysext/install/Classes/Controller/UpgradeController.php b/typo3/sysext/install/Classes/Controller/UpgradeController.php
index 0e742dcde134f323104a119b004486a9277b4ab8..20d59c26f70a25d00f386498f8ed95c1e3c1dd7c 100644
--- a/typo3/sysext/install/Classes/Controller/UpgradeController.php
+++ b/typo3/sysext/install/Classes/Controller/UpgradeController.php
@@ -25,7 +25,6 @@ use Psr\Http\Message\ServerRequestInterface;
 use Symfony\Component\Finder\Finder;
 use Symfony\Component\Finder\SplFileInfo;
 use TYPO3\CMS\Core\Core\Environment;
-use TYPO3\CMS\Core\Database\Connection;
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Database\Schema\Exception\StatementException;
 use TYPO3\CMS\Core\FormProtection\FormProtectionFactory;
diff --git a/typo3/sysext/lowlevel/Tests/Functional/Controller/DatabaseIntegrityControllerTest.php b/typo3/sysext/lowlevel/Tests/Functional/Controller/DatabaseIntegrityControllerTest.php
index 1aa2da1622d9d2923e3c03809105cb97ae8377a8..f81c31132f19d1b810e5533c27ea0d7864db230d 100644
--- a/typo3/sysext/lowlevel/Tests/Functional/Controller/DatabaseIntegrityControllerTest.php
+++ b/typo3/sysext/lowlevel/Tests/Functional/Controller/DatabaseIntegrityControllerTest.php
@@ -17,7 +17,6 @@ declare(strict_types=1);
 
 namespace TYPO3\CMS\Lowlevel\Tests\Functional\Controller;
 
-use TYPO3\CMS\Backend\Routing\Route;
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Http\ServerRequest;
 use TYPO3\CMS\Core\Imaging\Icon;
diff --git a/typo3/sysext/redirects/Classes/RedirectUpdate/SlugRedirectChangeItemFactory.php b/typo3/sysext/redirects/Classes/RedirectUpdate/SlugRedirectChangeItemFactory.php
index aeb7da6759953962b2832dc5342d2ef3a14df432..6c9519810cc73928cdc60b2d1428434c5a736a54 100644
--- a/typo3/sysext/redirects/Classes/RedirectUpdate/SlugRedirectChangeItemFactory.php
+++ b/typo3/sysext/redirects/Classes/RedirectUpdate/SlugRedirectChangeItemFactory.php
@@ -20,7 +20,6 @@ namespace TYPO3\CMS\Redirects\RedirectUpdate;
 use Psr\EventDispatcher\EventDispatcherInterface;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Core\Exception\SiteNotFoundException;
-use TYPO3\CMS\Core\Site\Entity\Site;
 use TYPO3\CMS\Core\Site\SiteFinder;
 use TYPO3\CMS\Redirects\Event\SlugRedirectChangeItemCreatedEvent;
 
diff --git a/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php b/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php
index e26151595cb6d06656065e7750c44bbe41bf5ef9..2b1d29f5bf0e4dd6bfa2bde4412e72fed96a8a66 100644
--- a/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php
+++ b/typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php
@@ -19,7 +19,6 @@ use TYPO3\CMS\Backend\Routing\UriBuilder;
 use TYPO3\CMS\Backend\Utility\BackendUtility;
 use TYPO3\CMS\Core\Cache\Backend\MemcachedBackend;
 use TYPO3\CMS\Core\Core\Environment;
-use TYPO3\CMS\Core\Database\Connection;
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Localization\LanguageService;
 use TYPO3\CMS\Core\Registry;
diff --git a/typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php b/typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php
index 6d5fcff720e768b48548a9ae608c05c76d2a755a..4ae4cb0d8ace9fc8dd6b15cdf03bfd0ddc4d1dfe 100644
--- a/typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php
+++ b/typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php
@@ -22,7 +22,6 @@ use TYPO3\CMS\Backend\Routing\UriBuilder;
 use TYPO3\CMS\Core\Core\Environment;
 use TYPO3\CMS\Core\Crypto\PasswordHashing\InvalidPasswordHashException;
 use TYPO3\CMS\Core\Crypto\PasswordHashing\PasswordHashFactory;
-use TYPO3\CMS\Core\Database\Connection;
 use TYPO3\CMS\Core\Database\ConnectionPool;
 use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction;
 use TYPO3\CMS\Core\Localization\LanguageService;