Passed
Pull Request — master (#248)
by Fabien
02:40
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/Managers/FileManager.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\Managers;
4 4
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     {
66 66
         $directoryIterator = new RecursiveDirectoryIterator($path);
67 67
         foreach (new RecursiveIteratorIterator($directoryIterator) as $file) {
68
-            if (! in_array($file->getExtension(), $this->fileExtensions)) {
68
+            if (!in_array($file->getExtension(), $this->fileExtensions)) {
69 69
                 continue;
70 70
             }
71 71
 
Please login to merge, or discard this patch.
src/Values/File.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\Values;
4 4
 
Please login to merge, or discard this patch.
src/Factories/ResultsRendererFactory.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\Factories;
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/Collections/FileCollection.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\Collections;
4 4
 
Please login to merge, or discard this patch.
src/Renderers/Results/ConsoleResultsRenderer.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\Renderers\Results;
4 4
 
Please login to merge, or discard this patch.
src/Renderers/Results/ResultsRendererInterface.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\Renderers\Results;
4 4
 
Please login to merge, or discard this patch.