@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | ) { |
33 | 33 | $hasFailure = false; |
34 | 34 | |
35 | - $process->run(function ( |
|
35 | + $process->run(function( |
|
36 | 36 | $out, |
37 | 37 | $data |
38 | 38 | ) use ( |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | &$hasFailure |
43 | 43 | ) { |
44 | 44 | if ($out == Process::ERR) { |
45 | - $hasFailure= true; |
|
45 | + $hasFailure = true; |
|
46 | 46 | $process->stop(); |
47 | 47 | return; |
48 | 48 | } |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | /** |
115 | 115 | * Check if the initial test run ended with a fatal error |
116 | 116 | */ |
117 | - if (! $result->isSuccess()) { |
|
117 | + if (!$result->isSuccess()) { |
|
118 | 118 | return 1; |
119 | 119 | } |
120 | 120 | |
@@ -192,8 +192,8 @@ discard block |
||
192 | 192 | $this->builder->setLogFiles($this->textLogFile, $this->jsonLogFile); |
193 | 193 | |
194 | 194 | $finder = $this->prepareFinder( |
195 | - isset($source->directories)? $source->directories : null, |
|
196 | - isset($source->excludes)? $source->excludes : null, |
|
195 | + isset($source->directories) ? $source->directories : null, |
|
196 | + isset($source->excludes) ? $source->excludes : null, |
|
197 | 197 | $input->getOption('file') |
198 | 198 | ); |
199 | 199 | |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | 'o', |
218 | 218 | InputOption::VALUE_REQUIRED, |
219 | 219 | 'Set command line options string to pass to test adapter. ' |
220 | - . 'Default is dictated dynamically by '.'Humbug'.'.' |
|
220 | + . 'Default is dictated dynamically by ' . 'Humbug' . '.' |
|
221 | 221 | ) |
222 | 222 | ->addOption( |
223 | 223 | 'file', |
@@ -44,7 +44,7 @@ |
||
44 | 44 | $t = $tokens[$index]; |
45 | 45 | if (!is_array($t) && $t == '+') { |
46 | 46 | $tokenCount = count($tokens); |
47 | - for ($i = $index + 1; $i < $tokenCount; $i++) { |
|
47 | + for ($i = $index+1; $i < $tokenCount; $i++) { |
|
48 | 48 | // check for short array syntax |
49 | 49 | if (!is_array($tokens[$i]) && $tokens[$i][0] == '[') { |
50 | 50 | return false; |