@@ -25,7 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | uasort( |
| 27 | 27 | $taggedServices, |
| 28 | - function ($a, $b) { |
|
| 28 | + function($a, $b) { |
|
| 29 | 29 | return $a[0]['priority'] > $b[0]['priority']; |
| 30 | 30 | } |
| 31 | 31 | ); |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | public function createProcess($testFilePath) |
| 40 | 40 | { |
| 41 | - if (! $this->phpunitConfigFile instanceof PHPUnitConfigFile) { |
|
| 41 | + if ( ! $this->phpunitConfigFile instanceof PHPUnitConfigFile) { |
|
| 42 | 42 | throw new \Exception('PHPUnit config missing'); |
| 43 | 43 | } |
| 44 | 44 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | private function printFailuresOutput(TestResultContainer $testResultContainer, OutputInterface $output) |
| 37 | 37 | { |
| 38 | - if (! $testResultContainer->getTestResultFormat()->shouldPrintTestOutput()) { |
|
| 38 | + if ( ! $testResultContainer->getTestResultFormat()->shouldPrintTestOutput()) { |
|
| 39 | 39 | return; |
| 40 | 40 | } |
| 41 | 41 | |
@@ -37,13 +37,13 @@ |
||
| 37 | 37 | { |
| 38 | 38 | $process = $processEvent->getProcess(); |
| 39 | 39 | |
| 40 | - if (! $processEvent->has('output_interface')) { |
|
| 40 | + if ( ! $processEvent->has('output_interface')) { |
|
| 41 | 41 | throw new \BadMethodCallException('missing output_interface'); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | $this->output = $processEvent->get('output_interface'); |
| 45 | 45 | |
| 46 | - if (! $this->output instanceof OutputInterface) { |
|
| 46 | + if ( ! $this->output instanceof OutputInterface) { |
|
| 47 | 47 | throw new \BadMethodCallException('output_interface, unexpected type: ' . get_class($this->output)); |
| 48 | 48 | } |
| 49 | 49 | |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | private function printFileRecap(TestResultContainer $testResultContainer, OutputInterface $output) |
| 34 | 34 | { |
| 35 | - if (! $testResultContainer->getTestResultFormat()->shouldPrintFilesRecap()) { |
|
| 35 | + if ( ! $testResultContainer->getTestResultFormat()->shouldPrintFilesRecap()) { |
|
| 36 | 36 | return; |
| 37 | 37 | } |
| 38 | 38 | |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public static function cleanUpDir($dir) |
| 33 | 33 | { |
| 34 | - if (! file_exists($dir)) { |
|
| 34 | + if ( ! file_exists($dir)) { |
|
| 35 | 35 | return false; |
| 36 | 36 | } |
| 37 | 37 | |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | */ |
| 60 | 60 | private static function mkdirIfNotExists($path) |
| 61 | 61 | { |
| 62 | - if (! file_exists($path)) { |
|
| 62 | + if ( ! file_exists($path)) { |
|
| 63 | 63 | mkdir($path); |
| 64 | 64 | } |
| 65 | 65 | } |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | ); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - if (! property_exists($log, 'message')) { |
|
| 40 | + if ( ! property_exists($log, 'message')) { |
|
| 41 | 41 | return new MuteTestResult(); |
| 42 | 42 | } |
| 43 | 43 | |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | new EngineEvent($outputInterface, array('start' => $start,)) |
| 76 | 76 | ); |
| 77 | 77 | |
| 78 | - while (! empty($this->processStack) || ! empty($this->processRunning)) { |
|
| 78 | + while ( ! empty($this->processStack) || ! empty($this->processRunning)) { |
|
| 79 | 79 | |
| 80 | 80 | if ($process = $this->runProcess($debug)) { |
| 81 | 81 | $this->eventDispatcher->dispatch(ProcessEvent::PROCESS_STARTED, new ProcessEvent($process)); |