| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types = 1); | |
| 1 | +<?php declare(strict_types=1); | |
| 2 | 2 | |
| 3 | 3 | namespace Churn\Result; | 
| 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\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 | } | 
| @@ -136,7 +136,7 @@ discard block | ||
| 136 | 136 |      { | 
| 137 | 137 | $observer = new OnSuccessAccumulate($accumulator); | 
| 138 | 138 | |
| 139 | -        if ((bool)$input->getOption('progress')) { | |
| 139 | +        if ((bool) $input->getOption('progress')) { | |
| 140 | 140 | $progressBar = new ProgressBar($output); | 
| 141 | 141 | $progressBar->start(); | 
| 142 | 142 | $observer = new OnSuccessCollection($observer, new OnSuccessProgress($progressBar)); | 
| @@ -167,7 +167,7 @@ discard block | ||
| 167 | 167 | */ | 
| 168 | 168 | private function writeResult(InputInterface $input, OutputInterface $output, ResultAccumulator $accumulator): void | 
| 169 | 169 |      { | 
| 170 | -        if ((bool)$input->getOption('progress')) { | |
| 170 | +        if ((bool) $input->getOption('progress')) { | |
| 171 | 171 |              $output->writeln("\n"); | 
| 172 | 172 | } | 
| 173 | 173 |          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\Result; | 
| 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\Result\Render; | 
| 4 | 4 | |
| @@ -16,7 +16,7 @@ discard block | ||
| 16 | 16 | */ | 
| 17 | 17 | public function render(OutputInterface $output, array $results): void | 
| 18 | 18 |      { | 
| 19 | -        $data = array_map(static function (array $result): array { | |
| 19 | +        $data = array_map(static function(array $result): array { | |
| 20 | 20 | return [ | 
| 21 | 21 | 'file' => $result[0], | 
| 22 | 22 | 'commits' => $result[1], | 
| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types = 1); | |
| 1 | +<?php declare(strict_types=1); | |
| 2 | 2 | |
| 3 | 3 | namespace Churn\Result\Render; | 
| 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\Result\Render; | 
| 4 | 4 | |
| @@ -18,7 +18,7 @@ discard block | ||
| 18 | 18 | $output->writeln($this->getHeader()); | 
| 19 | 19 | |
| 20 | 20 |          foreach ($results as $result) { | 
| 21 | -            $output->writeln(implode(';', [ '"'.$result[0].'"', $result[1], $result[2], $result[3] ])); | |
| 21 | +            $output->writeln(implode(';', ['"'.$result[0].'"', $result[1], $result[2], $result[3]])); | |
| 22 | 22 | }; | 
| 23 | 23 | } | 
| 24 | 24 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types = 1); | |
| 1 | +<?php declare(strict_types=1); | |
| 2 | 2 | |
| 3 | 3 | namespace Churn\Result; | 
| 4 | 4 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types = 1); | |
| 1 | +<?php declare(strict_types=1); | |
| 2 | 2 | |
| 3 | 3 | namespace Churn\Result; | 
| 4 | 4 | |
| @@ -1,4 +1,4 @@ | ||
| 1 | -<?php declare(strict_types = 1); | |
| 1 | +<?php declare(strict_types=1); | |
| 2 | 2 | |
| 3 | 3 | namespace Churn\Result\Render; | 
| 4 | 4 | |