@@ -1,4 +1,4 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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'))) { |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Churn\Command; |
| 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 | |
@@ -70,6 +70,6 @@ discard block |
||
| 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 | } |