Commit 0c652808 authored by Stefan Bürk's avatar Stefan Bürk Committed by Christian Kuhn
Browse files

[TASK] Use proper PSR-4 compatible namespaces 2

This patch adjustes invalid namespaces uses in some files
to ensure PSR-4 loading compatibility. Additionally the
superflous use statements are removed.

Resolves: #97792
Releases: main, 11.5
Change-Id: I9a0bae0a2e59cf8dce77f131350db488c9688840
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74952

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Simon Schaufelberger's avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 5c29568c
......@@ -15,7 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\Info;
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\Dashboard;
use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\ModalDialog;
......
......@@ -15,7 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\Page;
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\Workspace;
use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\ModalDialog;
......
......@@ -15,7 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Core\Tests\Functional\Core;
namespace TYPO3\CMS\Core\Tests\Functional\Cache\Core;
use Prophecy\PhpUnit\ProphecyTrait;
use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
......
......@@ -15,9 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace Unit\DataHandling\SoftReference;
use TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference\AbstractSoftReferenceParserTest;
namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference;
class EmailSoftReferenceParserTest extends AbstractSoftReferenceParserTest
{
......
......@@ -15,9 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace Unit\DataHandling\SoftReference;
use TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference\AbstractSoftReferenceParserTest;
namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference;
class ExtensionPathSoftReferenceParserTest extends AbstractSoftReferenceParserTest
{
......
......@@ -15,9 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace Unit\DataHandling\SoftReference;
use TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference\AbstractSoftReferenceParserTest;
namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference;
class NotifySoftReferenceParserTest extends AbstractSoftReferenceParserTest
{
......
......@@ -15,9 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace Unit\DataHandling\SoftReference;
use TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference\AbstractSoftReferenceParserTest;
namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference;
class SubstituteSoftReferenceParserTest extends AbstractSoftReferenceParserTest
{
......
......@@ -15,12 +15,11 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace Unit\DataHandling\SoftReference;
namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference;
use TYPO3\CMS\Core\Resource\File;
use TYPO3\CMS\Core\Resource\Folder;
use TYPO3\CMS\Core\Resource\ResourceFactory;
use TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference\AbstractSoftReferenceParserTest;
use TYPO3\CMS\Core\Utility\GeneralUtility;
class TypoLinkSoftReferenceParserTest extends AbstractSoftReferenceParserTest
......
......@@ -15,12 +15,11 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace Unit\DataHandling\SoftReference;
namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference;
use TYPO3\CMS\Core\Resource\File;
use TYPO3\CMS\Core\Resource\Folder;
use TYPO3\CMS\Core\Resource\ResourceFactory;
use TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference\AbstractSoftReferenceParserTest;
use TYPO3\CMS\Core\Utility\GeneralUtility;
class TypoLinkTagSoftReferenceParserTest extends AbstractSoftReferenceParserTest
......
......@@ -15,9 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace Unit\DataHandling\SoftReference;
use TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference\AbstractSoftReferenceParserTest;
namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference;
class UrlSoftReferenceParserTest extends AbstractSoftReferenceParserTest
{
......
Supports Markdown
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