Passed
Push — master ( 7102a7...de0942 )
by De Cramer
07:57
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.
src/Oliverde8/Component/RuleEngine/Rules/Condition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $valueToCmp = $this->applyRules($rowData, $transformedData, $options['if'], $options);
23 23
         $value = $this->applyRules($rowData, $transformedData, $options['value'], $options);
24 24
 
25
-        $result = $this->compare($valueToCmp, $value, $options['operation'])? $options['then'] : $options['else'];
25
+        $result = $this->compare($valueToCmp, $value, $options['operation']) ? $options['then'] : $options['else'];
26 26
 
27 27
         return $this->applyRules($rowData, $transformedData, $result, $options);
28 28
     }
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
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     public function processData(DataItemInterface $item, array &$context)
42 42
     {
43 43
         foreach ($this->chainProcessors as $chainProcessor) {
44
-            $chainProcessor->processItem($item, 0,  $context);
44
+            $chainProcessor->processItem($item, 0, $context);
45 45
         }
46 46
 
47 47
         // Nothing to process.
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     public function processStop(StopItem $item, array &$context)
59 59
     {
60 60
         foreach ($this->chainProcessors as $chainProcessor) {
61
-            $result = $chainProcessor->processItem($item, 0,  $context);
61
+            $result = $chainProcessor->processItem($item, 0, $context);
62 62
 
63 63
             if ($result !== $item) {
64 64
                 // Return a new stop item in order to continue flushing out data with stop items.
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.
Component/PhpEtl/Builder/Factories/Grouping/SimpleGroupingFactory.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
     protected function configureValidator()
29 29
     {
30 30
         return new Assert\Collection([
31
-             'grouping-key' => new Assert\NotBlank(),
32
-             'group-identifier' => new Assert\Optional()
33
-         ]);
31
+                'grouping-key' => new Assert\NotBlank(),
32
+                'group-identifier' => new Assert\Optional()
33
+            ]);
34 34
     }
35 35
 
36 36
 }
37 37
\ No newline at end of file
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.