@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Paraunit\Command; |
| 6 | 6 | |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | */ |
| 70 | 70 | protected function execute(InputInterface $input, OutputInterface $output) |
| 71 | 71 | { |
| 72 | - if (! $this->hasChosenCoverageMethod($input)) { |
|
| 72 | + if ( ! $this->hasChosenCoverageMethod($input)) { |
|
| 73 | 73 | $coverageMethods = implode($this->coverageMethods, ', '); |
| 74 | 74 | |
| 75 | 75 | throw new \InvalidArgumentException('You should choose at least one method of coverage output between ' . $coverageMethods); |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Paraunit\Configuration; |
| 6 | 6 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | if ($input->getOption('text-to-console')) { |
| 50 | 50 | $this->addProcessor($coverageResult, TextToConsole::class, [ |
| 51 | 51 | new Reference(OutputInterface::class), |
| 52 | - (bool) $input->getOption('ansi'), |
|
| 52 | + (bool)$input->getOption('ansi'), |
|
| 53 | 53 | ]); |
| 54 | 54 | } |
| 55 | 55 | } |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | */ |
| 105 | 105 | private function getOptionName(string $processorClass): string |
| 106 | 106 | { |
| 107 | - if (! \in_array(CoverageProcessorInterface::class, class_implements($processorClass), true)) { |
|
| 107 | + if ( ! \in_array(CoverageProcessorInterface::class, class_implements($processorClass), true)) { |
|
| 108 | 108 | throw new \InvalidArgumentException('Expecting FQCN of class implementing ' . CoverageProcessorInterface::class . ', got ' . $processorClass); |
| 109 | 109 | } |
| 110 | 110 | |