@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\Process; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\Process; |
4 | 4 | |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | */ |
98 | 98 | public function getKey(): string |
99 | 99 | { |
100 | - return $this->getType() . $this->file->getFullPath(); |
|
100 | + return $this->getType().$this->file->getFullPath(); |
|
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\Process; |
4 | 4 | |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | public function createCyclomaticComplexityProcess(File $file): ChurnProcess |
49 | 49 | { |
50 | 50 | $php = (new PhpExecutableFinder())->find(); |
51 | - $script = __DIR__ . '/../../bin/CyclomaticComplexityAssessorRunner'; |
|
51 | + $script = __DIR__.'/../../bin/CyclomaticComplexityAssessorRunner'; |
|
52 | 52 | $process = new Process([$php, $script, $file->getFullPath()]); |
53 | 53 | |
54 | 54 | return new ChurnProcess($file, $process, 'CyclomaticComplexityProcess'); |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\Process\Handler; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\Process\Observer; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\Commands; |
4 | 4 | |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | */ |
28 | 28 | class ChurnCommand extends Command |
29 | 29 | { |
30 | - private const LOGO =" |
|
30 | + private const LOGO = " |
|
31 | 31 | ___ _ _ __ __ ____ _ _ ____ _ _ ____ |
32 | 32 | / __)( )_( )( )( )( _ \( \( )___( _ \( )_( )( _ \ |
33 | 33 | ( (__ ) _ ( )(__)( ) / ) ((___))___/ ) _ ( )___/ |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | } |
131 | 131 | |
132 | 132 | throw new InvalidArgumentException( |
133 | - 'Provide the directories you want to scan as arguments, ' . |
|
133 | + 'Provide the directories you want to scan as arguments, '. |
|
134 | 134 | 'or configure them under "directoriesToScan" in your churn.yml file.' |
135 | 135 | ); |
136 | 136 | } |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | */ |
144 | 144 | private function getOnSuccessObserver(InputInterface $input, OutputInterface $output, int $totalFiles): OnSuccess |
145 | 145 | { |
146 | - if ((bool)$input->getOption('progress')) { |
|
146 | + if ((bool) $input->getOption('progress')) { |
|
147 | 147 | $output->writeln("\n"); |
148 | 148 | $progressBar = new ProgressBar($output, $totalFiles); |
149 | 149 | $progressBar->start(); |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\Process\Handler; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\Process\Handler; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\Process\Observer; |
4 | 4 |