Completed
Push — master ( 0141b8...171c3a )
by Ivannis Suárez
04:55
created
Tests/Units/DomainEventTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             ->and($eventId = $event->eventId())
104 104
             ->then()
105 105
             ->array($event->toArray())
106
-                ->child['metadata'](function ($metadata) use ($postId, $eventId) {
106
+                ->child['metadata'](function($metadata) use ($postId, $eventId) {
107 107
                     $metadata
108 108
                         ->hasKey('occurredOn')
109 109
                         ->object['aggregateId']
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
                             ->isEqualTo(PostWasCreated::class)
115 115
                     ;
116 116
                 })
117
-                ->child['payload'](function ($payload) use ($title, $content) {
117
+                ->child['payload'](function($payload) use ($title, $content) {
118 118
                     $payload
119 119
                         ->isEqualTo(array(
120 120
                             'title' => $title,
Please login to merge, or discard this patch.
Tests/Units/EventStore/EventStreamTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             ->given($postId = PostId::fromNative(md5(rand())))
81 81
             ->and($streamName = 'Posts-'.$postId)
82 82
             ->then()
83
-                ->exception(function () use ($streamName, $postId) {
83
+                ->exception(function() use ($streamName, $postId) {
84 84
                     new EventStream($streamName, $postId, ['bar']);
85 85
                 })->isInstanceOf(\InvalidArgumentException::class)
86 86
         ;
Please login to merge, or discard this patch.
Tests/Units/AggregateRepositoryTests.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                 )
84 84
             )
85 85
             ->then()
86
-                ->exception(function () use ($repository, $post) {
86
+                ->exception(function() use ($repository, $post) {
87 87
                     $repository->persist($post);
88 88
                 })
89 89
                 ->isInstanceOf(\InvalidArgumentException::class)
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
                 )
176 176
             )
177 177
             ->then()
178
-                ->exception(function () use ($repository, $post) {
178
+                ->exception(function() use ($repository, $post) {
179 179
                     $repository->remove($post);
180 180
                 })
181 181
                 ->isInstanceOf(\InvalidArgumentException::class)
Please login to merge, or discard this patch.