Skip to content

Commit fe989a9

Browse files
authored
Merge pull request #217 from andreaswolf/fix-psr4
[BUGFIX] Fix PSR-4 namespaces
2 parents 1a81ba2 + 95a9c7a commit fe989a9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

packages/fractor-typoscript/tests/TypoScriptStatementsIteratorTest.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
declare(strict_types=1);
44

5-
namespace a9f\FractorTypoScript;
5+
namespace a9f\FractorTypoScript\Tests;
66

77
use a9f\Fractor\Application\ValueObject\File;
88
use a9f\Fractor\DependencyInjection\ContainerContainerBuilder;
99
use a9f\Fractor\Exception\ShouldNotHappenException;
1010
use a9f\FractorTypoScript\Tests\Fixture\StatementCollectingVisitor;
11+
use a9f\FractorTypoScript\TypoScriptStatementsIterator;
1112
use Helmich\TypoScriptParser\Parser\Parser;
1213
use PHPUnit\Framework\Attributes\Test;
1314
use PHPUnit\Framework\TestCase;
@@ -91,7 +92,7 @@ public function visitorsAreCalledForAllStatementsWithNesting(): void
9192
protected function getService(string $type): object
9293
{
9394
if ($this->currentContainer === null) {
94-
throw new ShouldNotHappenException('Container is not initalized');
95+
throw new ShouldNotHappenException('Container is not initialized');
9596
}
9697

9798
return $this->currentContainer->get($type)

packages/typo3-fractor/rules-tests/TYPO3v12/TypoScript/RemoveConfigDisablePageExternalUrlFractor/RemoveConfigDisablePageExternalUrlFractorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace a9f\Typo3Fractor\Tests\TYPO3v12\TypoScript\RemoveConfigDisablePageExternalUrlOptionFractor;
5+
namespace a9f\Typo3Fractor\Tests\TYPO3v12\TypoScript\RemoveConfigDisablePageExternalUrlFractor;
66

77
use a9f\Fractor\Testing\PHPUnit\AbstractFractorTestCase;
88
use a9f\Typo3Fractor\TYPO3v12\TypoScript\RemoveConfigDisablePageExternalUrlFractor;

packages/typo3-fractor/rules-tests/TYPO3v12/TypoScript/RemoveConfigSpamProtectEmailAddressesAsciiOptionFractor/RemoveConfigSpamProtectEmailAddressesAsciiOptionFractorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace a9f\Typo3Fractor\Tests\TYPO3v12\TypoScript\RemoveConfigSpamProtectEmailAddressesAsciiOptionFractorTest;
5+
namespace a9f\Typo3Fractor\Tests\TYPO3v12\TypoScript\RemoveConfigSpamProtectEmailAddressesAsciiOptionFractor;
66

77
use a9f\Fractor\Testing\PHPUnit\AbstractFractorTestCase;
88
use a9f\Typo3Fractor\TYPO3v12\TypoScript\RemoveConfigSpamProtectEmailAddressesAsciiOptionFractor;

0 commit comments

Comments
 (0)