Completed
Push — master ( 58e144...062d92 )
by De Cramer
07:37 queued 07:34
created
src/Oliverde8/Component/PhpEtl/Item/DataItem.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,6 @@
 block discarded – undo
36 36
 
37 37
     public function getData()
38 38
     {
39
-       return $this->data;
39
+        return $this->data;
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
Component/PhpEtl/ChainOperation/Transformer/RuleTransformOperation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 
99 99
         foreach ($variables as $variable) {
100 100
             $data['@new'] = $newData;
101
-            $variableValues[] = ['variable' => $variable,  'value' => AssociativeArray::getFromKey($data, $variable, "")];
101
+            $variableValues[] = ['variable' => $variable, 'value' => AssociativeArray::getFromKey($data, $variable, "")];
102 102
         }
103 103
 
104 104
         return $variableValues;
Please login to merge, or discard this patch.
src/Oliverde8/Component/PhpEtl/ChainBuilder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,6 +65,6 @@
 block discarded – undo
65 65
             }
66 66
         }
67 67
 
68
-       throw new UnknownOperationException("No compatible factories were found for operation '{$config['operation']}'");
68
+        throw new UnknownOperationException("No compatible factories were found for operation '{$config['operation']}'");
69 69
     }
70 70
 }
Please login to merge, or discard this patch.
src/Oliverde8/Component/PhpEtl/ChainOperation/ChainSplitOperation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function processData(DataItemInterface $item, ExecutionContext $context): ItemInterface
36 36
     {
37 37
         foreach ($this->chainProcessors as $chainProcessor) {
38
-            $chainProcessor->processItem($item, 0,  $context);
38
+            $chainProcessor->processItem($item, 0, $context);
39 39
         }
40 40
 
41 41
         // Nothing to process.
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function processStop(StopItem $item, ExecutionContext $context): ItemInterface
46 46
     {
47 47
         foreach ($this->chainProcessors as $chainProcessor) {
48
-            $result = $chainProcessor->processItem($item, 0,  $context);
48
+            $result = $chainProcessor->processItem($item, 0, $context);
49 49
 
50 50
             if ($result !== $item) {
51 51
                 // 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/Model/File/LocalFileSystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
     public function listContents(string $path): array
77 77
     {
78
-        $files = scandir($this->rootPath . "/" .$path);
78
+        $files = scandir($this->rootPath . "/" . $path);
79 79
         return $files ?: [];
80 80
     }
81 81
 
Please login to merge, or discard this patch.
Component/PhpEtl/Builder/Factories/Grouping/SimpleGroupingFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
     protected function configureValidator(): Constraint
33 33
     {
34 34
         return new Assert\Collection([
35
-             'grouping-key' => new Assert\NotBlank(),
36
-             'group-identifier' => new Assert\Optional()
37
-         ]);
35
+                'grouping-key' => new Assert\NotBlank(),
36
+                'group-identifier' => new Assert\Optional()
37
+            ]);
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
src/Oliverde8/Component/PhpEtl/ChainProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      *
112 112
      * @throws ChainOperationException
113 113
      */
114
-    protected function processItemWithOperation(ItemInterface $item, int $chainNumber, ExecutionContext &$context): ItemInterface
114
+    protected function processItemWithOperation(ItemInterface $item, int $chainNumber, ExecutionContext & $context): ItemInterface
115 115
     {
116 116
         try {
117 117
             return $this->chainLinks[$chainNumber]->process($item, $context);
Please login to merge, or discard this patch.