Skip to content
Snippets Groups Projects
Commit 8d3b013b 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/+/74954


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent e6de22dd
Branches
Tags
No related merge requests found
Showing
with 10 additions and 22 deletions
......@@ -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
{
......
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