Passed
Pull Request — main (#40)
by Dimitri
14:09
created
src/Cli/Commands/Routes/Routes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $sortByHandler = $this->option('h', false);
63 63
         $host          = $this->option('host');
64 64
 
65
-		if ($host) {
65
+        if ($host) {
66 66
             putenv('HTTP_HOST='  . $host);
67 67
         }
68 68
 
Please login to merge, or discard this patch.
src/Cli/Commands/Routes/MiddlewareCollector.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function get(string $method, string $uri): array
37 37
     {
38
-	   	if ($method === 'CLI') {
38
+            if ($method === 'CLI') {
39 39
             return [];
40 40
         }
41 41
 
Please login to merge, or discard this patch.
src/Cli/Commands/Utilities/Namespaces.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -119,12 +119,12 @@
 block discarded – undo
119 119
         foreach ($config->psr4 as $ns => $paths) {
120 120
             foreach ((array) $paths as $path) {
121 121
                 if (null !== $this->option('r')) {
122
-					$pathOutput = $this->truncate($path, $maxLength);
123
-				} else {
124
-					$pathOutput = $this->truncate(clean_path($path), $maxLength);
125
-				}
122
+                    $pathOutput = $this->truncate($path, $maxLength);
123
+                } else {
124
+                    $pathOutput = $this->truncate(clean_path($path), $maxLength);
125
+                }
126 126
 
127
-				$path = realpath($path) ?: $path;
127
+                $path = realpath($path) ?: $path;
128 128
 
129 129
                 $tbody[] = [
130 130
                     $ns,
Please login to merge, or discard this patch.
src/Cli/Commands/Utilities/Environment.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             return;
67 67
         }
68 68
 
69
-		$env = strtolower($env);
69
+        $env = strtolower($env);
70 70
 
71 71
         if ($env === 'testing') {
72 72
             $this->fail('L\'environnement « test » est réservé aux tests PHPUnit ou Kahlan.');
Please login to merge, or discard this patch.