Skip to content

Commit

Permalink
move CryptographicHydrator into Cryptography namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Mar 25, 2024
1 parent 8c9c125 commit 6d6832b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

declare(strict_types=1);

namespace Patchlevel\EventSourcing\Serializer;
namespace Patchlevel\EventSourcing\Cryptography;

use Patchlevel\EventSourcing\Cryptography\EventPayloadCryptographer;
use Patchlevel\Hydrator\Hydrator;

final class CryptographicHydrator implements Hydrator
Expand Down
1 change: 1 addition & 0 deletions src/Serializer/DefaultEventSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Patchlevel\EventSourcing\Serializer;

use Patchlevel\EventSourcing\Cryptography\CryptographicHydrator;
use Patchlevel\EventSourcing\Cryptography\EventPayloadCryptographer;
use Patchlevel\EventSourcing\Metadata\Event\AttributeEventRegistryFactory;
use Patchlevel\EventSourcing\Metadata\Event\EventRegistry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

declare(strict_types=1);

namespace Patchlevel\EventSourcing\Tests\Unit\Serializer;
namespace Patchlevel\EventSourcing\Tests\Unit\Cryptography;

use Patchlevel\EventSourcing\Cryptography\CryptographicHydrator;
use Patchlevel\EventSourcing\Cryptography\EventPayloadCryptographer;
use Patchlevel\EventSourcing\Serializer\CryptographicHydrator;
use Patchlevel\Hydrator\Hydrator;
use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;
use stdClass;

/** @covers \Patchlevel\EventSourcing\Serializer\CryptographicHydrator */
/** @covers \Patchlevel\EventSourcing\Cryptography\CryptographicHydrator */
final class CryptographicHydratorTest extends TestCase
{
use ProphecyTrait;
Expand Down

0 comments on commit 6d6832b

Please sign in to comment.