Completed
Push — master ( efcae8...708590 )
by Frank
02:25
created
src/InMemoryMessageRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace EventSauce\EventSourcing;
6 6
 
Please login to merge, or discard this patch.
src/CodeGeneration/CommandDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace EventSauce\EventSourcing\CodeGeneration;
6 6
 
Please login to merge, or discard this patch.
src/Time/Clock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace EventSauce\EventSourcing\Time;
6 6
 
Please login to merge, or discard this patch.
src/AggregateRootBehaviour/EventRecordingBehaviour.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace EventSauce\EventSourcing\AggregateRootBehaviour;
6 6
 
Please login to merge, or discard this patch.
src/Upcasting/Upcaster.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace EventSauce\EventSourcing\Upcasting;
6 6
 
Please login to merge, or discard this patch.
src/AggregateRootRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace EventSauce\EventSourcing;
6 6
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     public function persistEvents(AggregateRootId $aggregateRootId, int $aggregateRootVersion, Event ...$events)
70 70
     {
71 71
         $metadata = [Header::AGGREGATE_ROOT_ID => $aggregateRootId];
72
-        $messages = array_map(function (Event $event) use ($metadata, &$aggregateRootVersion) {
72
+        $messages = array_map(function(Event $event) use ($metadata, &$aggregateRootVersion) {
73 73
             return $this->decorator->decorate(new Message(
74 74
                 $event,
75 75
                 $metadata + [Header::AGGREGATE_ROOT_VERSION => ++$aggregateRootVersion]
Please login to merge, or discard this patch.
src/Serialization/ConstructingMessageSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace EventSauce\EventSourcing\Serialization;
6 6
 
Please login to merge, or discard this patch.
src/AggregateRoot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace EventSauce\EventSourcing;
6 6
 
Please login to merge, or discard this patch.
src/MessageDispatcherChain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace EventSauce\EventSourcing;
6 6
 
Please login to merge, or discard this patch.