Completed
Pull Request — master (#174)
by
unknown
05:49
created
src/Factories/ProcessFactory.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
     public function createGitCommitProcess(File $file): ChurnProcess
32 32
     {
33 33
         $process = new Process(
34
-            'git -C ' . escapeshellarg(getcwd()) . ' log --since=' . 
35
-            escapeshellarg($this->commitsSince) . ' --name-only --pretty=format: ' . 
36
-            escapeshellarg($file->getFullPath()) . ' | sort | uniq -c | sort -nr'
34
+            'git -C '.escapeshellarg(getcwd()).' log --since='. 
35
+            escapeshellarg($this->commitsSince).' --name-only --pretty=format: '. 
36
+            escapeshellarg($file->getFullPath()).' | sort | uniq -c | sort -nr'
37 37
         );
38 38
 
39 39
         return new ChurnProcess($file, $process, 'GitCommitProcess');
@@ -46,11 +46,11 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function createCyclomaticComplexityProcess(File $file): ChurnProcess
48 48
     {
49
-        $rootFolder = __DIR__ . '/../../bin/';
49
+        $rootFolder = __DIR__.'/../../bin/';
50 50
 
51 51
         $process = new Process(
52
-            'php ' . escapeshellarg($rootFolder . 'CyclomaticComplexityAssessorRunner') .
53
-            ' ' . escapeshellarg($file->getFullPath())
52
+            'php '.escapeshellarg($rootFolder.'CyclomaticComplexityAssessorRunner').
53
+            ' '.escapeshellarg($file->getFullPath())
54 54
         );
55 55
 
56 56
         return new ChurnProcess($file, $process, 'CyclomaticComplexityProcess');
Please login to merge, or discard this patch.