From d3ecc6f3058ff3b055cbd0a4827ea1b866eb7e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BCrk?= <stefan@buerk.tech> Date: Sat, 18 Jun 2022 21:31:24 +0200 Subject: [PATCH] [TASK] Use proper PSR-4 compatible namespaces 3 This patch adjustes invalid namespaces uses in some files to ensure PSR-4 loading compatibility. Resolves: #97793 Releases: main, 11.5, 10.4 Change-Id: Ib8e0a1fd2b0c6493a7cda9d4360abec90b80ade4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74956 Tested-by: core-ci <typo3@b13.com> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> --- .../Tests/Functional/Form/FormDataProvider/TcaGroupTest.php | 2 +- .../Tests/Acceptance/Backend/Topbar/ModuleMenuButtonCest.php | 2 +- .../Compatibility/PublicPropertyDeprecationTraitTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php index b99f62a00882..a70c92751c6b 100644 --- a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php +++ b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace TYPO3\CMS\Core\Tests\Functional\Database; +namespace TYPO3\CMS\Backend\Tests\Functional\Form\FormDataProvider; /* * This file is part of the TYPO3 CMS project. diff --git a/typo3/sysext/core/Tests/Acceptance/Backend/Topbar/ModuleMenuButtonCest.php b/typo3/sysext/core/Tests/Acceptance/Backend/Topbar/ModuleMenuButtonCest.php index 2664c5201d81..5d3fe0c8f08b 100644 --- a/typo3/sysext/core/Tests/Acceptance/Backend/Topbar/ModuleMenuButtonCest.php +++ b/typo3/sysext/core/Tests/Acceptance/Backend/Topbar/ModuleMenuButtonCest.php @@ -15,7 +15,7 @@ declare(strict_types=1); * The TYPO3 project - inspiring people to share! */ -namespace TYPO3\core\Tests\Acceptance\Backend\Topbar; +namespace TYPO3\CMS\Core\Tests\Acceptance\Backend\Topbar; use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester; diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php index 4b535474381a..adae745f9d7e 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php @@ -15,7 +15,7 @@ declare(strict_types=1); * The TYPO3 project - inspiring people to share! */ -namespace TYPO3\CMS\Core\Tests\Unit\Compatibility; +namespace TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility; use TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -- GitLab