@@ -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 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Churn\File; |
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 | } |
@@ -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 |