Completed
Push — master ( 67ee93...84505b )
by Ivannis Suárez
07:55
created
Tests/Units/EventSourcedAggregateRootTests.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
                 )
58 58
             )
59 59
             ->then()
60
-                ->exception(function () use ($post) {
60
+                ->exception(function() use ($post) {
61 61
                     $post->remove();
62 62
                 })->isInstanceOf(\BadMethodCallException::class)
63 63
         ;
@@ -175,16 +175,16 @@  discard block
 block discarded – undo
175 175
                 ->array($post->recordedEvents())
176 176
                     ->hasSize(2)
177 177
             ->and()
178
-            ->exception(function () use ($post) {
178
+            ->exception(function() use ($post) {
179 179
                 $post->changeTitle('');
180 180
             })->isInstanceOf(ValidationException::class)
181
-            ->exception(function () use ($post) {
181
+            ->exception(function() use ($post) {
182 182
                 $post->changeTitle(10);
183 183
             })->isInstanceOf(ValidationException::class)
184 184
         ;
185 185
 
186 186
         $this
187
-            ->exception(function () {
187
+            ->exception(function() {
188 188
                 PostEventSourcedFactory::create('', $this->faker->paragraph);
189 189
             })->isInstanceOf(ValidationException::class)
190 190
         ;
Please login to merge, or discard this patch.