@@ -62,7 +62,7 @@ |
||
| 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 | |
@@ -35,7 +35,7 @@ |
||
| 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 | |
@@ -119,12 +119,12 @@ |
||
| 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, |
@@ -66,7 +66,7 @@ |
||
| 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.'); |