| @@ -85,8 +85,8 @@ | ||
| 85 | 85 | */ | 
| 86 | 86 | private function assertConstantExist($constantName) | 
| 87 | 87 |      { | 
| 88 | -        if ( ! defined('static::' . $constantName)) { | |
| 89 | -            throw new \Exception('Missing ' .$constantName . ' constant in ' . get_class($this)); | |
| 88 | +        if (!defined('static::' . $constantName)) { | |
| 89 | +            throw new \Exception('Missing ' . $constantName . ' constant in ' . get_class($this)); | |
| 90 | 90 | } | 
| 91 | 91 | } | 
| 92 | 92 | } | 
| @@ -39,7 +39,7 @@ | ||
| 39 | 39 | public function onProcessTerminated(ProcessEvent $processEvent) | 
| 40 | 40 |      { | 
| 41 | 41 |          foreach ($this->parsers as $parser) { | 
| 42 | -            if ( ! $parser->parseAndContinue($processEvent->getProcess())) { | |
| 42 | +            if (!$parser->parseAndContinue($processEvent->getProcess())) { | |
| 43 | 43 | return; | 
| 44 | 44 | } | 
| 45 | 45 | } | 
| @@ -147,6 +147,6 @@ | ||
| 147 | 147 | */ | 
| 148 | 148 | public function isEmpty() | 
| 149 | 149 |      { | 
| 150 | - return (bool) count($this->filename); | |
| 150 | + return (bool)count($this->filename); | |
| 151 | 151 | } | 
| 152 | 152 | } | 
| @@ -39,7 +39,7 @@ discard block | ||
| 39 | 39 | |
| 40 | 40 | $this->output = $engineEvent->getOutputInterface(); | 
| 41 | 41 |          $elapsedTime = $engineEvent->get('start')->diff($engineEvent->get('end')); | 
| 42 | -        $completedProcesses =  $engineEvent->get('process_completed'); | |
| 42 | +        $completedProcesses = $engineEvent->get('process_completed'); | |
| 43 | 43 | |
| 44 | 44 |          $this->output->writeln(''); | 
| 45 | 45 |          $this->output->writeln(''); | 
| @@ -47,14 +47,14 @@ discard block | ||
| 47 | 47 | |
| 48 | 48 |          $this->output->writeln(''); | 
| 49 | 49 |          $this->output->write('Executed: '); | 
| 50 | - $this->output->write(count($completedProcesses).' test classes, '); | |
| 50 | + $this->output->write(count($completedProcesses) . ' test classes, '); | |
| 51 | 51 | |
| 52 | 52 | $testsCount = 0; | 
| 53 | 53 |          foreach ($completedProcesses as $process) { | 
| 54 | 54 | $testsCount += count($process->getTestResults()); | 
| 55 | 55 | } | 
| 56 | 56 | |
| 57 | - $this->output->writeln($testsCount.' tests'); | |
| 57 | + $this->output->writeln($testsCount . ' tests'); | |
| 58 | 58 | |
| 59 | 59 | $this->printAllFailuresOutput(); | 
| 60 | 60 | $this->printAllFilesRecap(); | 
| @@ -75,7 +75,7 @@ | ||
| 75 | 75 | case 'S': | 
| 76 | 76 |                  $this->printWithCounter('<skipped>S</skipped>'); | 
| 77 | 77 | break; | 
| 78 | - case 'R': | |
| 78 | + case 'R': | |
| 79 | 79 |                  $this->printWithCounter('<risky>R</risky>'); | 
| 80 | 80 | break; | 
| 81 | 81 | case '.': | 
| @@ -24,13 +24,13 @@ | ||
| 24 | 24 |      { | 
| 25 | 25 | $process = $processEvent->getProcess(); | 
| 26 | 26 | |
| 27 | -        if ( ! $processEvent->has('output_interface')) { | |
| 27 | +        if (!$processEvent->has('output_interface')) { | |
| 28 | 28 |              throw new \BadMethodCallException('missing output_interface'); | 
| 29 | 29 | } | 
| 30 | 30 | |
| 31 | 31 |          $this->output = $processEvent->get('output_interface'); | 
| 32 | 32 | |
| 33 | -        if ( ! $this->output instanceof OutputInterface) { | |
| 33 | +        if (!$this->output instanceof OutputInterface) { | |
| 34 | 34 |              throw new \BadMethodCallException('output_interface, unexpected type: ' . get_class($this->output)); | 
| 35 | 35 | } | 
| 36 | 36 | |
| @@ -16,7 +16,7 @@ | ||
| 16 | 16 | $parser = new SegmentationFaultParser(); | 
| 17 | 17 | |
| 18 | 18 | $this->assertEquals($expectedResult, $parser->parseAndContinue($process)); | 
| 19 | - $this->assertEquals( ! $expectedResult, $process->hasSegmentationFaults()); | |
| 19 | + $this->assertEquals(!$expectedResult, $process->hasSegmentationFaults()); | |
| 20 | 20 | } | 
| 21 | 21 | |
| 22 | 22 | public function processProvider() | 
| @@ -17,7 +17,7 @@ | ||
| 17 | 17 | |
| 18 | 18 | $this->assertEquals($expectedResult, $parser->parseAndContinue($process)); | 
| 19 | 19 | |
| 20 | - $this->assertEquals($expectedResult, ! $process->hasFatalErrors()); | |
| 20 | + $this->assertEquals($expectedResult, !$process->hasFatalErrors()); | |
| 21 | 21 | } | 
| 22 | 22 | |
| 23 | 23 | public function processProvider() |