Passed
Pull Request — master (#3)
by De Cramer
02:12
created
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.