@@ -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 | ( (__ ) _ ( )(__)( ) / ) ((___))___/ ) _ ( )___/ |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | } |
135 | 135 | |
136 | 136 | throw new InvalidArgumentException( |
137 | - 'Provide the directories you want to scan as arguments, ' . |
|
137 | + 'Provide the directories you want to scan as arguments, '. |
|
138 | 138 | 'or configure them under "directoriesToScan" in your churn.yml file.' |
139 | 139 | ); |
140 | 140 | } |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | */ |
148 | 148 | private function getOnSuccessObserver(InputInterface $input, OutputInterface $output, int $totalFiles): OnSuccess |
149 | 149 | { |
150 | - if ((bool)$input->getOption('progress')) { |
|
150 | + if ((bool) $input->getOption('progress')) { |
|
151 | 151 | $progressBar = new ProgressBar($output, $totalFiles); |
152 | 152 | $progressBar->start(); |
153 | 153 | return new OnSuccessProgress($progressBar); |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | */ |
179 | 179 | private function writeResult(InputInterface $input, OutputInterface $output, ResultCollection $resultCollection): void |
180 | 180 | { |
181 | - if ((bool)$input->getOption('progress')) { |
|
181 | + if ((bool) $input->getOption('progress')) { |
|
182 | 182 | $output->writeln("\n"); |
183 | 183 | } |
184 | 184 | if (!empty($input->getOption('output'))) { |