@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Doctrine\Common\Annotations\AnnotationRegistry; |
| 4 | 4 | |
| 5 | -$file = __DIR__ . '/../vendor/autoload.php'; |
|
| 5 | +$file = __DIR__.'/../vendor/autoload.php'; |
|
| 6 | 6 | if (!file_exists($file)) { |
| 7 | 7 | throw new RuntimeException('Install dependencies to run test suite.'); |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | $loader = require $file; |
| 11 | 11 | |
| 12 | -require __DIR__ . '/app/TestKernel.php'; |
|
| 12 | +require __DIR__.'/app/TestKernel.php'; |
|
| 13 | 13 | |
| 14 | 14 | AnnotationRegistry::registerLoader([$loader, 'loadClass']); |
| 15 | 15 | |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Task\TaskBundle\Executor; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Process\Process; |
| 6 | -use Symfony\Component\Process\ProcessBuilder; |
|
| 7 | 6 | |
| 8 | 7 | /** |
| 9 | 8 | * Factory for execution-process. |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | */ |
| 47 | 47 | public function create($uuid) |
| 48 | 48 | { |
| 49 | - return $process = (new Process([$this->consolePath, 'task:execute', $uuid, '--env=' . $this->environment])) |
|
| 49 | + return $process = (new Process([$this->consolePath, 'task:execute', $uuid, '--env='.$this->environment])) |
|
| 50 | 50 | ->setTimeout($this->processTimeout); |
| 51 | 51 | } |
| 52 | 52 | } |