Passed
Pull Request — master (#21)
by De Cramer
07:15
created
src/Oliverde8/Component/PhpEtl/ChainOperation/AbstractChainOperation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
             return true;
69 69
         }
70 70
 
71
-        while($class = get_parent_class($class)) {
71
+        while ($class = get_parent_class($class)) {
72 72
             if ($class == $targetClass) {
73 73
                 return true;
74 74
             }
Please login to merge, or discard this patch.
src/Oliverde8/Component/PhpEtl/ChainOperation/ChainMergeOperation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $returnItems = [];
39 39
         foreach ($this->chainProcessors as $chainProcessor) {
40
-            $returnItems[] = $chainProcessor->processItem($item, 0,  $context);
40
+            $returnItems[] = $chainProcessor->processItem($item, 0, $context);
41 41
         }
42 42
 
43 43
         // Nothing to process.
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     public function processStop(StopItem $item, ExecutionContext $context): ItemInterface
48 48
     {
49 49
         foreach ($this->chainProcessors as $chainProcessor) {
50
-            $result = $chainProcessor->processItem($item, 0,  $context);
50
+            $result = $chainProcessor->processItem($item, 0, $context);
51 51
 
52 52
             if ($result !== $item) {
53 53
                 // Return a new stop item in order to continue flushing out data with stop items.
Please login to merge, or discard this patch.
src/Oliverde8/Component/PhpEtl/ChainProcessor.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
                     if ($mixItem instanceof GroupedItemInterface) {
104 104
                         $item = $this->processItems($mixItem->getIterator(), $chainNumber + 1, $context, false);
105 105
                     } else {
106
-                        $item = $this->processItem($mixItem, $chainNumber+1, $context);
106
+                        $item = $this->processItem($mixItem, $chainNumber + 1, $context);
107 107
                     }
108 108
                 }
109 109
                 return $item;
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      *
126 126
      * @throws ChainOperationException
127 127
      */
128
-    protected function processItemWithOperation(ItemInterface $item, int $chainNumber, ExecutionContext &$context): ItemInterface
128
+    protected function processItemWithOperation(ItemInterface $item, int $chainNumber, ExecutionContext & $context): ItemInterface
129 129
     {
130 130
         try {
131 131
             return $this->chainLinks[$chainNumber]->process($item, $context);
Please login to merge, or discard this patch.