Skip to content

Commit 216da5c

Browse files
committed
[TASK] Move DoctrineQueryProxy to Proxy namespace
1 parent 565b22e commit 216da5c

11 files changed

+14
-14
lines changed

Classes/Utility/DispatcherProxy.php Classes/Proxy/DispatcherProxy.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace FluidTYPO3\Vhs\Utility;
2+
namespace FluidTYPO3\Vhs\Proxy;
33

44
/*
55
* This file is part of the FluidTYPO3/Vhs project under GPLv2 or later.

Classes/Utility/DoctrineQueryProxy.php Classes/Proxy/DoctrineQueryProxy.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace FluidTYPO3\Vhs\Utility;
2+
namespace FluidTYPO3\Vhs\Proxy;
33

44
use Doctrine\DBAL\Driver\ResultStatement;
55
use Doctrine\DBAL\FetchMode;

Classes/ViewHelpers/Condition/Page/IsLanguageViewHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* LICENSE.md file that was distributed with this source code.
99
*/
1010

11-
use FluidTYPO3\Vhs\Utility\DoctrineQueryProxy;
11+
use FluidTYPO3\Vhs\Proxy\DoctrineQueryProxy;
1212
use TYPO3\CMS\Core\Context\Context;
1313
use TYPO3\CMS\Core\Context\LanguageAspect;
1414
use TYPO3\CMS\Core\Database\Connection;

Classes/ViewHelpers/Content/AbstractContentViewHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* LICENSE.md file that was distributed with this source code.
99
*/
1010

11+
use FluidTYPO3\Vhs\Proxy\DoctrineQueryProxy;
1112
use FluidTYPO3\Vhs\Traits\SlideViewHelperTrait;
1213
use FluidTYPO3\Vhs\Utility\ContentObjectFetcher;
13-
use FluidTYPO3\Vhs\Utility\DoctrineQueryProxy;
1414
use TYPO3\CMS\Core\Database\ConnectionPool;
1515
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
1616
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;

Classes/ViewHelpers/Content/InfoViewHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* LICENSE.md file that was distributed with this source code.
99
*/
1010

11+
use FluidTYPO3\Vhs\Proxy\DoctrineQueryProxy;
1112
use FluidTYPO3\Vhs\Traits\TemplateVariableViewHelperTrait;
1213
use FluidTYPO3\Vhs\Utility\ContentObjectFetcher;
13-
use FluidTYPO3\Vhs\Utility\DoctrineQueryProxy;
1414
use TYPO3\CMS\Core\Context\Context;
1515
use TYPO3\CMS\Core\Context\LanguageAspect;
1616
use TYPO3\CMS\Core\Database\Connection;

Classes/ViewHelpers/Page/LanguageMenuViewHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
* LICENSE.md file that was distributed with this source code.
99
*/
1010

11+
use FluidTYPO3\Vhs\Proxy\DoctrineQueryProxy;
1112
use FluidTYPO3\Vhs\Traits\ArrayConsumingViewHelperTrait;
1213
use FluidTYPO3\Vhs\Traits\TagViewHelperCompatibility;
1314
use FluidTYPO3\Vhs\Utility\ContentObjectFetcher;
1415
use FluidTYPO3\Vhs\Utility\CoreUtility;
15-
use FluidTYPO3\Vhs\Utility\DoctrineQueryProxy;
1616
use TYPO3\CMS\Core\Context\Context;
1717
use TYPO3\CMS\Core\Context\LanguageAspect;
1818
use TYPO3\CMS\Core\Database\ConnectionPool;

Classes/ViewHelpers/Render/RequestViewHelper.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
* LICENSE.md file that was distributed with this source code.
99
*/
1010

11+
use FluidTYPO3\Vhs\Proxy\DispatcherProxy;
12+
use FluidTYPO3\Vhs\Traits\CompileWithRenderStatic;
1113
use FluidTYPO3\Vhs\Utility\ContentObjectFetcher;
12-
use FluidTYPO3\Vhs\Utility\DispatcherProxy;
1314
use FluidTYPO3\Vhs\Utility\RequestResolver;
1415
use Psr\Http\Message\ServerRequestInterface;
1516
use TYPO3\CMS\Core\Utility\GeneralUtility;
@@ -22,7 +23,6 @@
2223
use TYPO3\CMS\Fluid\Core\Rendering\RenderingContext;
2324
use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
2425
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
25-
use FluidTYPO3\Vhs\Traits\CompileWithRenderStatic;
2626

2727
/**
2828
* ### Render: Request

Classes/ViewHelpers/Resource/AbstractResourceViewHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* LICENSE.md file that was distributed with this source code.
99
*/
1010

11+
use FluidTYPO3\Vhs\Proxy\DoctrineQueryProxy;
1112
use FluidTYPO3\Vhs\Traits\TagViewHelperCompatibility;
12-
use FluidTYPO3\Vhs\Utility\DoctrineQueryProxy;
1313
use FluidTYPO3\Vhs\Utility\ResourceUtility;
1414
use TYPO3\CMS\Core\Database\Connection;
1515
use TYPO3\CMS\Core\Database\ConnectionPool;

Classes/ViewHelpers/Resource/Record/AbstractRecordResourceViewHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* LICENSE.md file that was distributed with this source code.
99
*/
1010

11+
use FluidTYPO3\Vhs\Proxy\DoctrineQueryProxy;
1112
use FluidTYPO3\Vhs\Traits\TemplateVariableViewHelperTrait;
1213
use FluidTYPO3\Vhs\Utility\ContentObjectFetcher;
13-
use FluidTYPO3\Vhs\Utility\DoctrineQueryProxy;
1414
use FluidTYPO3\Vhs\Utility\ErrorUtility;
1515
use TYPO3\CMS\Core\Context\Context;
1616
use TYPO3\CMS\Core\Database\Connection;

Classes/ViewHelpers/Resource/Record/FalViewHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* LICENSE.md file that was distributed with this source code.
99
*/
1010

11-
use FluidTYPO3\Vhs\Utility\DoctrineQueryProxy;
11+
use FluidTYPO3\Vhs\Proxy\DoctrineQueryProxy;
1212
use FluidTYPO3\Vhs\Utility\ResourceUtility;
1313
use TYPO3\CMS\Core\Database\Connection;
1414
use TYPO3\CMS\Core\Database\ConnectionPool;

phpstan-baseline.neon

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ parameters:
3131
-
3232
message: "#^Call to an undefined method TYPO3\\\\CMS\\\\Core\\\\Database\\\\Query\\\\QueryBuilder\\:\\:execute\\(\\)\\.$#"
3333
count: 1
34-
path: Classes/Utility/DoctrineQueryProxy.php
34+
path: Classes/Proxy/DoctrineQueryProxy.php
3535
-
3636
message: "#^Access to undefined constant TYPO3\\\\CMS\\\\Core\\\\Domain\\\\Repository\\\\PageRepository\\:\\:DOKTYPE_RECYCLER\\.$#"
3737
count: 1
@@ -43,11 +43,11 @@ parameters:
4343
-
4444
message: "#Call to an undefined method Doctrine\\\\DBAL\\\\Driver\\\\ResultStatement\\|Doctrine\\\\DBAL\\\\Result\\:\\:fetch\\(\\)\\.$#"
4545
count: 1
46-
path: Classes/Utility/DoctrineQueryProxy.php
46+
path: Classes/Proxy/DoctrineQueryProxy.php
4747
-
4848
message: "#Call to an undefined method Doctrine\\\\DBAL\\\\Driver\\\\ResultStatement\\|Doctrine\\\\DBAL\\\\Result\\:\\:fetchAll\\(\\)\\.$#"
4949
count: 1
50-
path: Classes/Utility/DoctrineQueryProxy.php
50+
path: Classes/Proxy/DoctrineQueryProxy.php
5151
-
5252
message: "#^Access to protected property TYPO3\\\\CMS\\\\Core\\\\Domain\\\\Repository\\\\PageRepository\\:\\:\\$where_groupAccess\\.$#"
5353
count: 1

0 commit comments

Comments
 (0)