@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Paraunit\Parser; |
| 4 | 4 | |
| 5 | 5 | use Paraunit\Exception\JSONLogNotFoundException; |
| 6 | -use Paraunit\Exception\RecoverableTestErrorException; |
|
| 7 | 6 | use Paraunit\Lifecycle\ProcessEvent; |
| 8 | 7 | use Paraunit\Process\ParaunitProcessAbstract; |
| 9 | 8 | use Paraunit\Process\ProcessResultInterface; |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | - * @return \string[] |
|
| 42 | + * @return integer[] |
|
| 43 | 43 | */ |
| 44 | 44 | public function getFileNames() |
| 45 | 45 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | $this->output->writeln(''); |
| 50 | 50 | $this->output->write('Executed: '); |
| 51 | - $this->output->write(count($completedProcesses).' test classes, '); |
|
| 51 | + $this->output->write(count($completedProcesses) . ' test classes, '); |
|
| 52 | 52 | |
| 53 | 53 | $testsCount = 0; |
| 54 | 54 | /** @var ParaunitProcessAbstract $process */ |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | $testsCount += count($process->getTestResults()); |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - $this->output->writeln($testsCount.' tests'); |
|
| 59 | + $this->output->writeln($testsCount . ' tests'); |
|
| 60 | 60 | |
| 61 | 61 | $this->printAllFailuresOutput(); |
| 62 | 62 | $this->printAllFilesRecap(); |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | $i = 1; |
| 88 | 88 | |
| 89 | 89 | foreach ($buffer as $filename => $messages) { |
| 90 | - foreach($messages as $message) { |
|
| 90 | + foreach ($messages as $message) { |
|
| 91 | 91 | $this->output->writeln(''); |
| 92 | 92 | $this->output->writeln( |
| 93 | 93 | sprintf('<%s>%d)</%s> %s', $tag, $i++, $tag, $message) |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | return true; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - if ( ! property_exists($log, 'message')) { |
|
| 82 | + if (!property_exists($log, 'message')) { |
|
| 83 | 83 | return false; |
| 84 | 84 | } |
| 85 | 85 | |