@@ -35,7 +35,7 @@  | 
                                                    ||
| 35 | 35 | public function __construct(array $fileExtensions, array $filesToIgnore)  | 
                                                        
| 36 | 36 |      { | 
                                                        
| 37 | 37 | $this->fileExtensions = $fileExtensions;  | 
                                                        
| 38 | -        $this->filters = \array_map(function (string $fileToIgnore): string { | 
                                                        |
| 38 | +        $this->filters = \array_map(function(string $fileToIgnore): string { | 
                                                        |
| 39 | 39 | return $this->patternToRegex($fileToIgnore);  | 
                                                        
| 40 | 40 | }, $filesToIgnore);  | 
                                                        
| 41 | 41 | }  | 
                                                        
@@ -20,7 +20,7 @@  | 
                                                    ||
| 20 | 20 | $output->writeln($this->getHeader());  | 
                                                        
| 21 | 21 | |
| 22 | 22 |          foreach ($results as $result) { | 
                                                        
| 23 | -            $output->writeln(\implode(';', ['"' . $result[0] . '"', $result[1], $result[2], $result[3]])); | 
                                                        |
| 23 | +            $output->writeln(\implode(';', ['"'.$result[0].'"', $result[1], $result[2], $result[3]])); | 
                                                        |
| 24 | 24 | }  | 
                                                        
| 25 | 25 | }  | 
                                                        
| 26 | 26 | |
@@ -17,7 +17,7 @@  | 
                                                    ||
| 17 | 17 | */  | 
                                                        
| 18 | 18 | public function render(OutputInterface $output, array $results): void  | 
                                                        
| 19 | 19 |      { | 
                                                        
| 20 | -        $data = \array_map(static function (array $result): array { | 
                                                        |
| 20 | +        $data = \array_map(static function(array $result): array { | 
                                                        |
| 21 | 21 | return [  | 
                                                        
| 22 | 22 | 'file' => $result[0],  | 
                                                        
| 23 | 23 | 'commits' => $result[1],  | 
                                                        
@@ -123,7 +123,7 @@ discard block  | 
                                                    ||
| 123 | 123 | }  | 
                                                        
| 124 | 124 | |
| 125 | 125 | throw new InvalidArgumentException(  | 
                                                        
| 126 | - 'Provide the directories you want to scan as arguments, ' .  | 
                                                        |
| 126 | + 'Provide the directories you want to scan as arguments, '.  | 
                                                        |
| 127 | 127 | 'or configure them under "directoriesToScan" in your churn.yml file.'  | 
                                                        
| 128 | 128 | );  | 
                                                        
| 129 | 129 | }  | 
                                                        
@@ -140,7 +140,7 @@ discard block  | 
                                                    ||
| 140 | 140 |      ): OnSuccess { | 
                                                        
| 141 | 141 | $observer = new OnSuccessAccumulate($accumulator);  | 
                                                        
| 142 | 142 | |
| 143 | -        if ((bool)$input->getOption('progress')) { | 
                                                        |
| 143 | +        if ((bool) $input->getOption('progress')) { | 
                                                        |
| 144 | 144 | $progressBar = new ProgressBar($output);  | 
                                                        
| 145 | 145 | $progressBar->start();  | 
                                                        
| 146 | 146 | $observer = new OnSuccessCollection($observer, new OnSuccessProgress($progressBar));  | 
                                                        
@@ -169,7 +169,7 @@ discard block  | 
                                                    ||
| 169 | 169 | */  | 
                                                        
| 170 | 170 | private function writeResult(InputInterface $input, OutputInterface $output, ResultAccumulator $accumulator): void  | 
                                                        
| 171 | 171 |      { | 
                                                        
| 172 | -        if ((bool)$input->getOption('progress')) { | 
                                                        |
| 172 | +        if ((bool) $input->getOption('progress')) { | 
                                                        |
| 173 | 173 |              $output->writeln("\n"); | 
                                                        
| 174 | 174 | }  | 
                                                        
| 175 | 175 | |
@@ -90,10 +90,10 @@  | 
                                                    ||
| 90 | 90 |      { | 
                                                        
| 91 | 91 | $process = $processFactory->createChangesCountProcess($file);  | 
                                                        
| 92 | 92 | $process->start();  | 
                                                        
| 93 | - $pool['CountChanges:' . $process->getFilename()] = $process;  | 
                                                        |
| 93 | + $pool['CountChanges:'.$process->getFilename()] = $process;  | 
                                                        |
| 94 | 94 | $process = $processFactory->createCyclomaticComplexityProcess($file);  | 
                                                        
| 95 | 95 | $process->start();  | 
                                                        
| 96 | - $pool['Complexity:' . $process->getFilename()] = $process;  | 
                                                        |
| 96 | + $pool['Complexity:'.$process->getFilename()] = $process;  | 
                                                        |
| 97 | 97 | }  | 
                                                        
| 98 | 98 | |
| 99 | 99 | /**  | 
                                                        
@@ -39,7 +39,7 @@ discard block  | 
                                                    ||
| 39 | 39 | public function __construct(string $vcs, string $commitsSince)  | 
                                                        
| 40 | 40 |      { | 
                                                        
| 41 | 41 | $this->changesCountProcessBuilder = $this->getChangesCountProcessBuilder($vcs, $commitsSince);  | 
                                                        
| 42 | - $this->phpExecutable = (string)(new PhpExecutableFinder())->find();  | 
                                                        |
| 42 | + $this->phpExecutable = (string) (new PhpExecutableFinder())->find();  | 
                                                        |
| 43 | 43 | }  | 
                                                        
| 44 | 44 | |
| 45 | 45 | /**  | 
                                                        
@@ -77,18 +77,18 @@ discard block  | 
                                                    ||
| 77 | 77 | private function getChangesCountProcessBuilder(string $vcs, string $commitsSince): Closure  | 
                                                        
| 78 | 78 |      { | 
                                                        
| 79 | 79 |          if ('git' === $vcs) { | 
                                                        
| 80 | -            return static function (File $file) use ($commitsSince): ChangesCountInterface { | 
                                                        |
| 80 | +            return static function(File $file) use ($commitsSince): ChangesCountInterface { | 
                                                        |
| 81 | 81 | return new GitChangesCountProcess($file, $commitsSince);  | 
                                                        
| 82 | 82 | };  | 
                                                        
| 83 | 83 | }  | 
                                                        
| 84 | 84 | |
| 85 | 85 |          if ('none' === $vcs) { | 
                                                        
| 86 | -            return static function (File $file): ChangesCountInterface { | 
                                                        |
| 86 | +            return static function(File $file): ChangesCountInterface { | 
                                                        |
| 87 | 87 | return new NoVcsChangesCountProcess($file);  | 
                                                        
| 88 | 88 | };  | 
                                                        
| 89 | 89 | }  | 
                                                        
| 90 | 90 | |
| 91 | -        throw new InvalidArgumentException('Unsupported VCS: ' . $vcs); | 
                                                        |
| 91 | +        throw new InvalidArgumentException('Unsupported VCS: '.$vcs); | 
                                                        |
| 92 | 92 | }  | 
                                                        
| 93 | 93 | |
| 94 | 94 | /** @return array<string> */  | 
                                                        
@@ -98,6 +98,6 @@ discard block  | 
                                                    ||
| 98 | 98 | return [Phar::running(false), 'assess-complexity'];  | 
                                                        
| 99 | 99 | }  | 
                                                        
| 100 | 100 | |
| 101 | - return [__DIR__ . '/../../bin/CyclomaticComplexityAssessorRunner'];  | 
                                                        |
| 101 | + return [__DIR__.'/../../bin/CyclomaticComplexityAssessorRunner'];  | 
                                                        |
| 102 | 102 | }  | 
                                                        
| 103 | 103 | }  |