@@ -137,11 +137,11 @@ |
||
137 | 137 | private function addMissingPathError(string $path, string $namespaceRoot, string $absPathRoot) |
138 | 138 | { |
139 | 139 | $invalidPathMessage = "Namespace root '$namespaceRoot'". |
140 | - "\ncontains a path '$path''". |
|
141 | - "\nwhich doesn't exist\n"; |
|
140 | + "\ncontains a path '$path''". |
|
141 | + "\nwhich doesn't exist\n"; |
|
142 | 142 | if (stripos($absPathRoot, "Magento") !== false) { |
143 | 143 | $invalidPathMessage .= 'Magento\'s composer includes this by default, ' |
144 | - .'it should be removed from the psr-4 section'; |
|
144 | + .'it should be removed from the psr-4 section'; |
|
145 | 145 | } |
146 | 146 | $this->missingPaths[$path] = $invalidPathMessage; |
147 | 147 | } |
@@ -175,14 +175,14 @@ |
||
175 | 175 | #$start = microtime(true); |
176 | 176 | #fwrite(STDERR, "\n".'Validating link: '.$href); |
177 | 177 | $context = stream_context_create([ |
178 | - 'http' => [ |
|
179 | - 'method' => 'HEAD', |
|
180 | - 'protocol_version' => 1.1, |
|
181 | - 'header' => [ |
|
182 | - 'Connection: close', |
|
183 | - ], |
|
184 | - ], |
|
185 | - ]); |
|
178 | + 'http' => [ |
|
179 | + 'method' => 'HEAD', |
|
180 | + 'protocol_version' => 1.1, |
|
181 | + 'header' => [ |
|
182 | + 'Connection: close', |
|
183 | + ], |
|
184 | + ], |
|
185 | + ]); |
|
186 | 186 | $result = null; |
187 | 187 | try { |
188 | 188 | $headers = get_headers($href, 0, $context); |