@@ -40,7 +40,7 @@ |
||
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 | } |
@@ -129,7 +129,7 @@ discard block |
||
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 |
||
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 |
||
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 | ); |