Completed
Push — 2.0 ( 21f326...dd3689 )
by Marco
17:36
created
src/Comodojo/Extender/Tasks/Worklog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $this->dbh
47 47
             ->createQueryBuilder()
48 48
             ->insert($this->table)
49
-            ->values(array (
49
+            ->values(array(
50 50
 				'id' => 0,
51 51
                 'status' => '?',
52 52
                 'pid' => '?',
Please login to merge, or discard this patch.
src/Comodojo/Extender/Tasks/Runner.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
             $thetask = $this->createTask($name, $task, $parameters);
81 81
 
82
-            $this->events->emit( new TaskEvent('start', $thetask) );
82
+            $this->events->emit(new TaskEvent('start', $thetask));
83 83
 
84 84
             $pid = $thetask->pid;
85 85
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 
88 88
             $status = true;
89 89
 
90
-            $this->events->emit( new TaskStatusEvent('start', $thetask) );
90
+            $this->events->emit(new TaskStatusEvent('start', $thetask));
91 91
 
92 92
             try {
93 93
 
@@ -108,11 +108,11 @@  discard block
 block discarded – undo
108 108
 
109 109
             }
110 110
 
111
-            $this->events->emit( new TaskStatusEvent($status ? 'success' : 'error', $thetask) );
111
+            $this->events->emit(new TaskStatusEvent($status ? 'success' : 'error', $thetask));
112 112
 
113
-            $this->events->emit( new TaskStatusEvent('stop', $thetask) );
113
+            $this->events->emit(new TaskStatusEvent('stop', $thetask));
114 114
 
115
-            $this->events->emit( new TaskEvent('stop', $thetask) );
115
+            $this->events->emit(new TaskEvent('stop', $thetask));
116 116
 
117 117
             $end = microtime(true);
118 118
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         }
128 128
 
129 129
         return new Result(
130
-            array (
130
+            array(
131 131
                 $pid,
132 132
                 $name,
133 133
                 $status,
Please login to merge, or discard this patch.