Completed
Push — master ( d9c7f5...aa86fb )
by jean
16s
created
src/ImportBundle/Transformer/RemoveEmptyInArrayTransformer.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
 
23 23
     private function removeEmptyInArray($value)
24 24
     {
25
-        return array_filter($value, function ($item) {
25
+        return array_filter($value, function($item) {
26 26
             return !empty((is_array($item)) ? $this->removeEmptyInArray($item) : $item);
27 27
         });
28 28
     }
Please login to merge, or discard this patch.
src/ProcessBundle/StatDumper/StatCliDumper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,9 +68,9 @@
 block discarded – undo
68 68
         $maxWait = max($waits);
69 69
 
70 70
         // Convert all wait times to float
71
-        $waits = array_map(function ($item) { return (int) $item; }, $waits);
71
+        $waits = array_map(function($item) { return (int) $item; }, $waits);
72 72
         // Skip tasks not wait
73
-        $waits = array_filter($waits, function ($item) { return 0 != $item; });
73
+        $waits = array_filter($waits, function($item) { return 0 != $item; });
74 74
 
75 75
         $reference = $maxWait / 100;
76 76
 
Please login to merge, or discard this patch.
src/ProcessBundle/Step/FilesystemEventStreamStep.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             $currentOutput = $this->process->getIncrementalOutput();
51 51
 
52 52
             $lines = explode(PHP_EOL, $currentOutput);
53
-            $lines = array_filter($lines, function ($item) { return !empty($item); });
53
+            $lines = array_filter($lines, function($item) { return !empty($item); });
54 54
 
55 55
             $state->debug('{count} lines', ['count' => count($lines)]);
56 56
 
Please login to merge, or discard this patch.