Skip to content

Commit 8021082

Browse files
authored
Merge pull request #322 from patchlevel/fix-test-namespace
Fix some test namespace issues
2 parents cb42194 + 3bb3b08 commit 8021082

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

phpstan-baseline.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ parameters:
3737
path: src/Normalizer/UidNormalizer.php
3838

3939
-
40-
message: '#^Method Fixtures\\DummyGuesser\:\:guess\(\) has parameter \$type with generic class Symfony\\Component\\TypeInfo\\Type\\ObjectType but does not specify its types\: T$#'
40+
message: '#^Method Patchlevel\\EventSourcingBundle\\Tests\\Fixtures\\DummyGuesser\:\:guess\(\) has parameter \$type with generic class Symfony\\Component\\TypeInfo\\Type\\ObjectType but does not specify its types\: T$#'
4141
identifier: missingType.generics
4242
count: 1
4343
path: tests/Fixtures/DummyGuesser.php

tests/Fixtures/DummyExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Fixtures;
5+
namespace Patchlevel\EventSourcingBundle\Tests\Fixtures;
66

77
use Patchlevel\Hydrator\Extension;
88
use Patchlevel\Hydrator\StackHydratorBuilder;

tests/Fixtures/DummyGuesser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Fixtures;
5+
namespace Patchlevel\EventSourcingBundle\Tests\Fixtures;
66

77
use Patchlevel\Hydrator\Guesser\Guesser;
88
use Patchlevel\Hydrator\Normalizer\Normalizer;

tests/Unit/PatchlevelEventSourcingBundleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
use Doctrine\Migrations\Tools\Console\Command\MigrateCommand;
1414
use Doctrine\Migrations\Tools\Console\Command\StatusCommand;
1515
use Doctrine\Persistence\ManagerRegistry;
16-
use Fixtures\DummyExtension;
17-
use Fixtures\DummyGuesser;
1816
use InvalidArgumentException;
1917
use Patchlevel\EventSourcing\Attribute\Aggregate;
2018
use Patchlevel\EventSourcing\Attribute\Event;
@@ -102,6 +100,8 @@
102100
use Patchlevel\EventSourcingBundle\Tests\Fixtures\CreateProfile;
103101
use Patchlevel\EventSourcingBundle\Tests\Fixtures\CustomHeader;
104102
use Patchlevel\EventSourcingBundle\Tests\Fixtures\DummyArgumentResolver;
103+
use Patchlevel\EventSourcingBundle\Tests\Fixtures\DummyExtension;
104+
use Patchlevel\EventSourcingBundle\Tests\Fixtures\DummyGuesser;
105105
use Patchlevel\EventSourcingBundle\Tests\Fixtures\Listener1;
106106
use Patchlevel\EventSourcingBundle\Tests\Fixtures\Listener2;
107107
use Patchlevel\EventSourcingBundle\Tests\Fixtures\Profile;

0 commit comments

Comments
 (0)