Commit a9e13401 authored by Benni Mack's avatar Benni Mack Committed by Markus Klein
Browse files

[TASK] Remove unused PHP class imports

Some PHP classes still contain unused use statements. They have been removed.

Thanks to @cd on his initial patch
https://review.typo3.org/52014/

Resolves: 83432
Releases: master
Change-Id: I9020f505a826c40fcf11f75f87245293e7c6154f
Reviewed-on: https://review.typo3.org/55217

Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
parent ca91b4cf
......@@ -15,7 +15,6 @@ namespace TYPO3\CMS\Backend\Domain\Repository\Module;
*/
use TYPO3\CMS\Backend\Module\ModuleLoader;
use TYPO3\CMS\Core\Imaging\Icon;
use TYPO3\CMS\Core\Imaging\IconFactory;
use TYPO3\CMS\Core\Imaging\IconRegistry;
use TYPO3\CMS\Core\Utility\GeneralUtility;
......
......@@ -24,7 +24,6 @@ use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Imaging\Icon;
use TYPO3\CMS\Core\Imaging\IconFactory;
use TYPO3\CMS\Core\Localization\LanguageService;
use TYPO3\CMS\Core\Messaging\FlashMessage;
use TYPO3\CMS\Core\Resource\ProcessedFile;
use TYPO3\CMS\Core\Resource\ResourceFactory;
use TYPO3\CMS\Core\Type\Bitmask\Permission;
......
......@@ -15,11 +15,9 @@ namespace TYPO3\CMS\Backend\Form\FormDataProvider;
*/
use TYPO3\CMS\Backend\Form\Exception\DatabaseRecordException;
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Styleguide\TcaDataGenerator\TableHandler\General;
/**
* Extended by other provider that fetch records from database
......
......@@ -25,7 +25,6 @@ use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Database\Query\QueryHelper;
use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction;
use TYPO3\CMS\Core\Database\RelationHandler;
use TYPO3\CMS\Core\Imaging\Icon;
use TYPO3\CMS\Core\Imaging\IconFactory;
use TYPO3\CMS\Core\Imaging\IconRegistry;
use TYPO3\CMS\Core\Localization\LanguageService;
......
......@@ -15,8 +15,6 @@ namespace TYPO3\CMS\Filelist\ContextMenu\ItemProviders;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Core\Resource\File;
/**
* Provides click menu items for file_storage
*/
......
......@@ -15,8 +15,6 @@ namespace TYPO3\CMS\Filelist\ContextMenu\ItemProviders;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Core\Resource\File;
/**
* Provides click menu items for filemounts
*/
......
<?php
namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form;
use Prophecy\Argument;
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager;
use TYPO3\CMS\Fluid\ViewHelpers\Form\CheckboxViewHelper;
use TYPO3\TestingFramework\Fluid\Unit\ViewHelpers\ViewHelperBaseTestcase;
......
......@@ -14,7 +14,6 @@ namespace TYPO3\CMS\Recycler\Domain\Model;
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Database\Query\Restriction\BackendWorkspaceRestriction;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment