Completed
Push — master ( 258d90...7630d0 )
by David
04:59
created
Governor/Framework/CommandHandling/CommandDispatchInterceptorInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
  */
35 35
 interface CommandDispatchInterceptorInterface
36 36
 {
37
-   /**
37
+    /**
38 38
      * Invoked each time a command is about to be dispatched on a Command Bus. The given <code>commandMessage</code>
39 39
      * represents the command being dispatched.
40 40
      *
Please login to merge, or discard this patch.
src/Governor/Framework/Common/AnnotatedMetaDataParameterResolver.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@
 block discarded – undo
39 39
      */
40 40
     private $annotation;
41 41
     
42
-     /**
43
-     * @var \ReflectionParameter 
44
-     */
42
+        /**
43
+         * @var \ReflectionParameter 
44
+         */
45 45
     private $parameter;
46 46
     
47 47
     public function __construct(MetaData $annotation, \ReflectionParameter $parameter) 
Please login to merge, or discard this patch.
src/Governor/Framework/EventSourcing/AbstractSnapshotter.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -67,18 +67,18 @@
 block discarded – undo
67 67
         
68 68
     }
69 69
     
70
-     /**
71
-     * Creates a snapshot event for an aggregate of the given <code>typeIdentifier</code> of which passed events are
72
-     * available in the given <code>eventStream</code>. May return <code>null</code> to indicate a snapshot event is
73
-     * not necessary or appropriate for the given event stream.
74
-     *
75
-     * @param string $typeIdentifier      The aggregate's type identifier
76
-     * @param mixed $aggregateIdentifier The identifier of the aggregate to create a snapshot for
77
-     * @param DomainEventStreamInterface $eventStream         The event stream containing the aggregate's past events
78
-     * @return DomainEventMessageInterface the snapshot event for the given events, or <code>null</code> if none should be stored.
79
-     */
70
+        /**
71
+         * Creates a snapshot event for an aggregate of the given <code>typeIdentifier</code> of which passed events are
72
+         * available in the given <code>eventStream</code>. May return <code>null</code> to indicate a snapshot event is
73
+         * not necessary or appropriate for the given event stream.
74
+         *
75
+         * @param string $typeIdentifier      The aggregate's type identifier
76
+         * @param mixed $aggregateIdentifier The identifier of the aggregate to create a snapshot for
77
+         * @param DomainEventStreamInterface $eventStream         The event stream containing the aggregate's past events
78
+         * @return DomainEventMessageInterface the snapshot event for the given events, or <code>null</code> if none should be stored.
79
+         */
80 80
     protected abstract function createSnapshot($typeIdentifier, $aggregateIdentifier,
81
-                                                         DomainEventStreamInterface $eventStream);
81
+                                                            DomainEventStreamInterface $eventStream);
82 82
 
83 83
 
84 84
     /**
Please login to merge, or discard this patch.
src/Governor/Framework/EventSourcing/EventSourcedEntityInterface.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -34,15 +34,15 @@
 block discarded – undo
34 34
  */
35 35
 interface EventSourcedEntityInterface
36 36
 {
37
-     /**
38
-     * Register the aggregate root with this entity. The entity must use this aggregate root to apply Domain Events.
39
-     * The aggregate root is responsible for tracking all applied events.
40
-     * <p/>
41
-     * A parent entity is responsible for invoking this method on its child entities prior to propagating events to it.
42
-     * Typically, this means all entities have their aggregate root set before any actions are taken on it.
43
-     *
44
-     * @param AbstractEventSourcedAggregateRoot $aggregateRootToRegister the root of the aggregate this entity is part of.
45
-     */
37
+        /**
38
+         * Register the aggregate root with this entity. The entity must use this aggregate root to apply Domain Events.
39
+         * The aggregate root is responsible for tracking all applied events.
40
+         * <p/>
41
+         * A parent entity is responsible for invoking this method on its child entities prior to propagating events to it.
42
+         * Typically, this means all entities have their aggregate root set before any actions are taken on it.
43
+         *
44
+         * @param AbstractEventSourcedAggregateRoot $aggregateRootToRegister the root of the aggregate this entity is part of.
45
+         */
46 46
     public function registerAggregateRoot(AbstractEventSourcedAggregateRoot $aggregateRootToRegister);
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
src/Governor/Framework/EventSourcing/SnapshotterInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -33,12 +33,12 @@
 block discarded – undo
33 33
  */
34 34
 interface SnapshotterInterface 
35 35
 {
36
-     /**
37
-     * Schedules snapshot taking for an aggregate with given <code>typeIdentifier</code> and
38
-     * <code>aggregateIdentifier</code>. 
39
-     *
40
-     * @param string $typeIdentifier      the type of the aggregate to take the snapshot for
41
-     * @param mixed $aggregateIdentifier The identifier of the aggregate to take the snapshot for
42
-     */
36
+        /**
37
+         * Schedules snapshot taking for an aggregate with given <code>typeIdentifier</code> and
38
+         * <code>aggregateIdentifier</code>. 
39
+         *
40
+         * @param string $typeIdentifier      the type of the aggregate to take the snapshot for
41
+         * @param mixed $aggregateIdentifier The identifier of the aggregate to take the snapshot for
42
+         */
43 43
     public function scheduleSnapshot($typeIdentifier, $aggregateIdentifier);
44 44
 }
Please login to merge, or discard this patch.
Governor/Framework/EventStore/Filesystem/FilesystemSnapshotEventReader.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
 class FilesystemSnapshotEventReader
38 38
 {
39 39
 
40
-     /**
41
-     * @var \SplFileObject
42
-     */
40
+        /**
41
+         * @var \SplFileObject
42
+         */
43 43
     private $eventFile;
44
-     /**
45
-     * @var \SplFileObject
46
-     */
44
+        /**
45
+         * @var \SplFileObject
46
+         */
47 47
     private $snapshotEventFile;
48 48
     
49 49
     /**     
Please login to merge, or discard this patch.
Framework/EventStore/Filesystem/SnapshotFilesystemDomainEventStream.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 /**
15 15
  * Description of SnapshotFilesystemDomainEventStream
16
-
17 16
  */
18 17
 class SnapshotFilesystemDomainEventStream extends FilesystemDomainEventStream
19 18
 {
Please login to merge, or discard this patch.
src/Governor/Framework/EventStore/Mongo/StorageStrategyInterface.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of the SmartGecko(c) business platform.
4
- *
5
- * For the full copyright and license information, please view the LICENSE
6
- * file that was distributed with this source code.
7
- */
3
+     * This file is part of the SmartGecko(c) business platform.
4
+     *
5
+     * For the full copyright and license information, please view the LICENSE
6
+     * file that was distributed with this source code.
7
+     */
8 8
 
9 9
 namespace Governor\Framework\EventStore\Mongo;
10 10
 
Please login to merge, or discard this patch.
src/Governor/Framework/Test/Saga/EventValidator.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: david
5
- * Date: 19/12/14
6
- * Time: 21:14
7
- */
3
+     * Created by PhpStorm.
4
+     * User: david
5
+     * Date: 19/12/14
6
+     * Time: 21:14
7
+     */
8 8
 
9 9
 namespace Governor\Framework\Test\Saga;
10 10
 
Please login to merge, or discard this patch.