Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBadura committed Feb 7, 2021
1 parent 3a028cc commit d81f993
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/Unit/Aggregate/AggregateChangedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Patchlevel\EventSourcing\Tests\Unit\Fixture\ProfileCreated;
use Patchlevel\EventSourcing\Tests\Unit\Fixture\ProfileId;
use PHPUnit\Framework\TestCase;

use const PHP_VERSION_ID;

class AggregateChangedTest extends TestCase
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Pipeline/Target/InMemoryTargetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace Patchlevel\EventSourcing\Tests\Unit\Pipeline\Target;

use Patchlevel\EventSourcing\Aggregate\AggregateChanged;
use Patchlevel\EventSourcing\Pipeline\EventBucket;
use Patchlevel\EventSourcing\Pipeline\Target\InMemoryTarget;
use Patchlevel\EventSourcing\Tests\Unit\Fixture\Email;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Pipeline/Target/ProjectionTargetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function testSave(): void
);

$projectionRepository = $this->prophesize(Projection::class);
$projectionRepository->handledEvents()->will(fn() => yield ProfileCreated::class => 'applyProfileCreated');
$projectionRepository->handledEvents()->will(static fn () => yield ProfileCreated::class => 'applyProfileCreated');

$projectionTarget = new ProjectionTarget($projectionRepository->reveal());

Expand Down
1 change: 1 addition & 0 deletions tests/Unit/Repository/RepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function testInstantiateWithWrongClass(): void
stdClass::class,
);
}

public function testInstantiateWithNonSnapshotAggregateButWithSnapshotStore(): void
{
$store = $this->prophesize(Store::class);
Expand Down

0 comments on commit d81f993

Please sign in to comment.