Passed
Pull Request — master (#254)
by Viktor
02:21
created
src/File/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\File;
4 4
 
Please login to merge, or discard this patch.
src/File/FileFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\File;
4 4
 
Please login to merge, or discard this patch.
src/Command/RunCommand.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Command;
4 4
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
  */
31 31
 class RunCommand extends Command
32 32
 {
33
-    public const LOGO ="
33
+    public const LOGO = "
34 34
     ___  _   _  __  __  ____  _  _     ____  _   _  ____
35 35
    / __)( )_( )(  )(  )(  _ \( \( )___(  _ \( )_( )(  _ \
36 36
   ( (__  ) _ (  )(__)(  )   / )  ((___))___/ ) _ (  )___/
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         }
122 122
 
123 123
         throw new InvalidArgumentException(
124
-            'Provide the directories you want to scan as arguments, ' .
124
+            'Provide the directories you want to scan as arguments, '.
125 125
             'or configure them under "directoriesToScan" in your churn.yml file.'
126 126
         );
127 127
     }
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     ): OnSuccess {
140 140
         $observer = new OnSuccessAccumulate($accumulator);
141 141
 
142
-        if ((bool)$input->getOption('progress')) {
142
+        if ((bool) $input->getOption('progress')) {
143 143
             $progressBar = new ProgressBar($output);
144 144
             $progressBar->start();
145 145
             $observer = new OnSuccessCollection($observer, new OnSuccessProgress($progressBar));
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      */
171 171
     private function writeResult(InputInterface $input, OutputInterface $output, ResultAccumulator $accumulator): void
172 172
     {
173
-        if ((bool)$input->getOption('progress')) {
173
+        if ((bool) $input->getOption('progress')) {
174 174
             $output->writeln("\n");
175 175
         }
176 176
         if (!empty($input->getOption('output'))) {
Please login to merge, or discard this patch.
src/Command/AssessComplexityCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Command;
4 4
 
Please login to merge, or discard this patch.
src/Process/ProcessFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process;
4 4
 
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
             return [Phar::running(false), 'assess-complexity'];
71 71
         }
72 72
 
73
-        return [__DIR__ . '/../../bin/CyclomaticComplexityAssessorRunner'];
73
+        return [__DIR__.'/../../bin/CyclomaticComplexityAssessorRunner'];
74 74
     }
75 75
 }
Please login to merge, or discard this patch.