Completed
Pull Request — master (#210)
by
unknown
02:24 queued 36s
created
src/Managers/ProcessManager.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
     private function getProcessResults(int $numberOfParallelJobs): void
63 63
     {
64 64
         for ($index = $this->runningProcesses->count();
65
-             $this->filesCollection->hasFiles() > 0 && $index < $numberOfParallelJobs;
66
-             $index++) {
65
+                $this->filesCollection->hasFiles() > 0 && $index < $numberOfParallelJobs;
66
+                $index++) {
67 67
             $file = $this->filesCollection->getNextFile();
68 68
 
69 69
             $process = $this->processFactory->createGitCommitProcess($file);
Please login to merge, or discard this patch.
src/Renderers/Results/JsonResultsRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 
4 4
 namespace Churn\Renderers\Results;
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public function render(OutputInterface $output, ResultCollection $results): void
18 18
     {
19
-        $data = array_map(function (array $result) {
19
+        $data = array_map(function(array $result) {
20 20
             return [
21 21
                 'file' => $result[0],
22 22
                 'commits' => $result[1],
Please login to merge, or discard this patch.
src/Commands/ChurnCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Commands;
4 4
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         $filesCollection = (new FileManager($config->getFileExtensions(), $config->getFilesToIgnore()))
86 86
             ->getPhpFiles($this->getDirectoriesToScan($input, $config->getDirectoriesToScan()));
87 87
 
88
-        $this->processManager->setProgressBarEnabled((bool)$input->getOption('progress'));
88
+        $this->processManager->setProgressBarEnabled((bool) $input->getOption('progress'));
89 89
         $this->processManager->setOutputStream($output);
90 90
 
91 91
         $completedProcesses = $this->processManager->process(
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         }
124 124
 
125 125
         throw new InvalidArgumentException(
126
-            'Provide the directories you want to scan as arguments, ' .
126
+            'Provide the directories you want to scan as arguments, '.
127 127
             'or configure them under "directoriesToScan" in your churn.yml file.'
128 128
         );
129 129
     }
Please login to merge, or discard this patch.