Skip to content

Commit

Permalink
[TASK] Update CodeStyle for use-statements (#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasnorre authored Jul 9, 2024
1 parent eebb6f6 commit 936a17f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Classes/Domain/Model/ProcessCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

namespace AOE\Crawler\Domain\Model;

use InvalidArgumentException;
use AOE\Crawler\Exception\NoIndexFoundException;
use InvalidArgumentException;

/***************************************************************
* Copyright notice
Expand Down
4 changes: 2 additions & 2 deletions Classes/Middleware/CrawlerInitialization.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
*
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Core\Context\Exception\AspectNotFoundException;
use TYPO3\CMS\Core\Error\Http\ServiceUnavailableException;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use TYPO3\CMS\Core\Context\Context;
use TYPO3\CMS\Core\Context\Exception\AspectNotFoundException;
use TYPO3\CMS\Core\Error\Http\ServiceUnavailableException;
use TYPO3\CMS\Core\Utility\GeneralUtility;

/**
Expand Down
4 changes: 2 additions & 2 deletions Classes/Middleware/FrontendUserAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
*
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Core\Context\Exception\AspectNotFoundException;
use TYPO3\CMS\Core\Error\Http\ServiceUnavailableException;
use AOE\Crawler\Converter\JsonCompatibilityConverter;
use AOE\Crawler\Domain\Repository\QueueRepository;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use TYPO3\CMS\Core\Context\Context;
use TYPO3\CMS\Core\Context\Exception\AspectNotFoundException;
use TYPO3\CMS\Core\Context\UserAspect;
use TYPO3\CMS\Core\Database\Query\QueryBuilder;
use TYPO3\CMS\Core\Error\Http\ServiceUnavailableException;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication;
use TYPO3\CMS\Frontend\Controller\ErrorController;
Expand Down
2 changes: 1 addition & 1 deletion Classes/Service/BackendModuleLinkService.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
*
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException;
use AOE\Crawler\Controller\Backend\BackendModuleCrawlerProcessController;
use AOE\Crawler\Controller\Backend\Helper\UrlBuilder;
use Psr\Http\Message\UriInterface;
use TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException;
use TYPO3\CMS\Backend\Template\ModuleTemplate;
use TYPO3\CMS\Core\Imaging\Icon;
use TYPO3\CMS\Core\Imaging\IconFactory;
Expand Down
4 changes: 2 additions & 2 deletions Classes/Service/BackendModuleLogService.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
*
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException;
use TYPO3\CMS\Core\Http\Uri;
use AOE\Crawler\Controller\Backend\BackendModuleCrawlerLogController;
use AOE\Crawler\Controller\Backend\Helper\ResultHandler;
use AOE\Crawler\Controller\Backend\Helper\UrlBuilder;
use AOE\Crawler\Converter\JsonCompatibilityConverter;
use TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException;
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\Http\Uri;
use TYPO3\CMS\Core\Imaging\Icon;
use TYPO3\CMS\Core\Imaging\IconFactory;
use TYPO3\CMS\Core\Localization\LanguageService;
Expand Down
4 changes: 2 additions & 2 deletions Classes/Service/UrlService.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
*
* The TYPO3 project - inspiring people to share!
*/
use TYPO3\CMS\Core\Exception\SiteNotFoundException;
use TYPO3\CMS\Core\Routing\InvalidRouteArgumentsException;
use Doctrine\DBAL\Driver\Exception;
use Psr\Http\Message\UriInterface;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Exception\SiteNotFoundException;
use TYPO3\CMS\Core\Http\Uri;
use TYPO3\CMS\Core\Routing\InvalidRouteArgumentsException;
use TYPO3\CMS\Core\Routing\SiteMatcher;
use TYPO3\CMS\Core\Site\Entity\Site;
use TYPO3\CMS\Core\Utility\GeneralUtility;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/Converter/JsonCompatibilityConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*
* The TYPO3 project - inspiring people to share!
*/
use Exception;
use AOE\Crawler\Converter\JsonCompatibilityConverter;
use Exception;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;

Expand Down

0 comments on commit 936a17f

Please sign in to comment.