Completed
Push — master ( cfc46b...5a6c91 )
by Thomas
09:47 queued 07:37
created
src/Executor/ExecutionProcessFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     public function create($uuid)
41 41
     {
42 42
         return $process = ProcessBuilder::create(
43
-            [$this->consolePath, 'task:execute', $uuid, '-e ' . $this->environment]
43
+            [$this->consolePath, 'task:execute', $uuid, '-e '.$this->environment]
44 44
         )->getProcess();
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
tests/Unit/Executor/SeparateProcessExecutorTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $this->process->run()->shouldBeCalled();
130 130
         $this->process->isSuccessful()->willReturn(false);
131 131
 
132
-        $this->process->getErrorOutput()->willReturn(FailedException::class . PHP_EOL . 'TEST');
132
+        $this->process->getErrorOutput()->willReturn(FailedException::class.PHP_EOL.'TEST');
133 133
 
134 134
         try {
135 135
             $this->executor->execute($this->execution->reveal());
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         $this->process->run()->shouldBeCalledTimes(1);
153 153
         $this->process->isSuccessful()->willReturn(false);
154 154
 
155
-        $this->process->getErrorOutput()->willReturn(FailedException::class . PHP_EOL . 'TEST');
155
+        $this->process->getErrorOutput()->willReturn(FailedException::class.PHP_EOL.'TEST');
156 156
 
157 157
         try {
158 158
             $this->executor->execute($this->execution->reveal());
@@ -172,14 +172,14 @@  discard block
 block discarded – undo
172 172
 
173 173
         $attempts = 1;
174 174
         $this->execution->incrementAttempts()->will(
175
-            function () use (&$attempts) {
175
+            function() use (&$attempts) {
176 176
                 ++$attempts;
177 177
 
178 178
                 return $this;
179 179
             }
180 180
         );
181 181
         $this->execution->getAttempts()->will(
182
-            function () use (&$attempts) {
182
+            function() use (&$attempts) {
183 183
                 return $attempts;
184 184
             }
185 185
         );
Please login to merge, or discard this patch.