@@ -176,11 +176,11 @@ |
||
176 | 176 | private function addMissingPathError(string $path, string $namespaceRoot, string $absPathRoot): void |
177 | 177 | { |
178 | 178 | $invalidPathMessage = "Namespace root '$namespaceRoot'". |
179 | - "\ncontains a path '$path''". |
|
180 | - "\nwhich doesn't exist\n"; |
|
179 | + "\ncontains a path '$path''". |
|
180 | + "\nwhich doesn't exist\n"; |
|
181 | 181 | if (stripos($absPathRoot, "Magento") !== false) { |
182 | 182 | $invalidPathMessage .= 'Magento\'s composer includes this by default, ' |
183 | - .'it should be removed from the psr-4 section'; |
|
183 | + .'it should be removed from the psr-4 section'; |
|
184 | 184 | } |
185 | 185 | $this->missingPaths[$path] = $invalidPathMessage; |
186 | 186 | } |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | '', |
125 | 125 | \dirname($file) |
126 | 126 | ); |
127 | - $start .= '/'.\rtrim($relativeSubdirs, '/'); |
|
127 | + $start .= '/'.\rtrim($relativeSubdirs, '/'); |
|
128 | 128 | } |
129 | 129 | $realpath = \realpath($start.'/'.$path); |
130 | 130 | if (false === $realpath) { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | ], |
186 | 186 | ], |
187 | 187 | ]); |
188 | - $result = null; |
|
188 | + $result = null; |
|
189 | 189 | try { |
190 | 190 | $headers = get_headers($href, 0, $context); |
191 | 191 | foreach ($headers as $header) { |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | $href, |
206 | 206 | var_export($result, true) |
207 | 207 | ); |
208 | - $return = 1; |
|
208 | + $return = 1; |
|
209 | 209 | #$time = round(microtime(true) - $start, 2); |
210 | 210 | #fwrite(STDERR, "\n".'Failed ('.$time.' seconds): '.$href); |
211 | 211 | } |