Commit 5c29568c authored by Stefan Bürk's avatar Stefan Bürk Committed by Christian Kuhn
Browse files

[TASK] Use proper PSR-4 compatible namespaces 1

This change replaces invalid namespaces in some files to
ensure PSR-4 loading compatibility.

Additional missing namespace autoloading configuration for
`tstemplate` test files is added to root composer.json.

Resolves: #97791
Releases: main
Change-Id: I52a473f71dd284a3ecb7e0bda397331db3b4b47d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74931

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 95fb2677
...@@ -287,7 +287,8 @@ ...@@ -287,7 +287,8 @@
"TYPO3\\CMS\\SysNote\\Tests\\": "typo3/sysext/sys_note/Tests/", "TYPO3\\CMS\\SysNote\\Tests\\": "typo3/sysext/sys_note/Tests/",
"TYPO3\\CMS\\Workspaces\\Tests\\": "typo3/sysext/workspaces/Tests/", "TYPO3\\CMS\\Workspaces\\Tests\\": "typo3/sysext/workspaces/Tests/",
"TYPO3\\CMS\\Recycler\\Tests\\": "typo3/sysext/recycler/Tests/", "TYPO3\\CMS\\Recycler\\Tests\\": "typo3/sysext/recycler/Tests/",
"TYPO3\\CMS\\T3editor\\Tests\\": "typo3/sysext/t3editor/Tests/" "TYPO3\\CMS\\T3editor\\Tests\\": "typo3/sysext/t3editor/Tests/",
"TYPO3\\CMS\\Tstemplate\\Tests\\": "typo3/sysext/tstemplate/Tests/"
}, },
"classmap": [ "classmap": [
"typo3/sysext/core/Tests/Unit/Core/Fixtures/test_extension/", "typo3/sysext/core/Tests/Unit/Core/Fixtures/test_extension/",
......
...@@ -15,7 +15,7 @@ declare(strict_types=1); ...@@ -15,7 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share! * The TYPO3 project - inspiring people to share!
*/ */
namespace TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator; namespace TYPO3\CMS\Extbase\Tests\Functional\Validation\Validator;
use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Localization\LanguageServiceFactory;
use TYPO3\CMS\Extbase\Validation\Validator\NumberRangeValidator; use TYPO3\CMS\Extbase\Validation\Validator\NumberRangeValidator;
......
...@@ -15,7 +15,7 @@ declare(strict_types=1); ...@@ -15,7 +15,7 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share! * The TYPO3 project - inspiring people to share!
*/ */
namespace TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Be\Labels; namespace TYPO3\CMS\Fluid\Tests\FunctionalDeprecated\ViewHelpers\Be\Labels;
use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Localization\LanguageServiceFactory;
use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\GeneralUtility;
......
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