Completed
Pull Request — master (#112)
by Alessandro
10:33 queued 35s
created
src/Paraunit/Command/CoverageCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Paraunit/Configuration/CoverageConfiguration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.