Passed
Pull Request — master (#248)
by Fabien
02:18
created
bin/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (is_file($autoload = __DIR__ . '/../vendor/autoload.php')) {
3
+if (is_file($autoload = __DIR__.'/../vendor/autoload.php')) {
4 4
     require_once($autoload);
5
-} elseif (is_file($autoload = __DIR__ . '/../../../autoload.php')) {
5
+} elseif (is_file($autoload = __DIR__.'/../../../autoload.php')) {
6 6
     require_once($autoload);
7 7
 } else {
8 8
     fwrite(STDERR,
Please login to merge, or discard this patch.
src/Configuration/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Configuration;
4 4
 
Please login to merge, or discard this patch.
src/Assessors/CyclomaticComplexity/CyclomaticComplexityAssessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Assessors\CyclomaticComplexity;
4 4
 
Please login to merge, or discard this patch.
src/Process/ProcessHandlerFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process;
4 4
 
Please login to merge, or discard this patch.
src/Process/ChurnProcess.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
 namespace Churn\Process;
4 4
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function getKey(): string
99 99
     {
100
-        return $this->getType() . $this->file->getFullPath();
100
+        return $this->getType().$this->file->getFullPath();
101 101
     }
102 102
 
103 103
     /**
Please login to merge, or discard this patch.
src/Process/ProcessFactory.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
 namespace Churn\Process;
4 4
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     public function createCyclomaticComplexityProcess(File $file): ChurnProcess
49 49
     {
50 50
         $php = (new PhpExecutableFinder())->find();
51
-        $script = __DIR__ . '/../../bin/CyclomaticComplexityAssessorRunner';
51
+        $script = __DIR__.'/../../bin/CyclomaticComplexityAssessorRunner';
52 52
         $process = new Process([$php, $script, $file->getFullPath()]);
53 53
 
54 54
         return new ChurnProcess($file, $process, 'CyclomaticComplexityProcess');
Please login to merge, or discard this patch.
src/Process/Handler/SequentialProcessHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process\Handler;
4 4
 
Please login to merge, or discard this patch.
src/Process/Observer/OnSuccess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process\Observer;
4 4
 
Please login to merge, or discard this patch.
src/Process/Handler/ParallelProcessHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 
3 3
 namespace Churn\Process\Handler;
4 4
 
Please login to merge, or discard this patch.