From e0f6866ffa002f0cb021b6739dbf82edf026a4cf 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/+/74955 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 +- .../Acceptance/Application/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 98390ad22355..4fb486bb304b 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/Application/Topbar/ModuleMenuButtonCest.php b/typo3/sysext/core/Tests/Acceptance/Application/Topbar/ModuleMenuButtonCest.php index 2d8fa92e5730..a2b9160fe0c0 100644 --- a/typo3/sysext/core/Tests/Acceptance/Application/Topbar/ModuleMenuButtonCest.php +++ b/typo3/sysext/core/Tests/Acceptance/Application/Topbar/ModuleMenuButtonCest.php @@ -15,7 +15,7 @@ declare(strict_types=1); * The TYPO3 project - inspiring people to share! */ -namespace TYPO3\core\Tests\Acceptance\Application\Topbar; +namespace TYPO3\CMS\Core\Tests\Acceptance\Application\Topbar; use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester; diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php index 8906acbb06aa..22a75e0dd902 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