@@ -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); |
@@ -178,7 +178,7 @@ |
||
| 178 | 178 | $invalidPathMessage = "Namespace root '$namespaceRoot'\ncontains a path '$path'\nwhich doesn't exist\n"; |
| 179 | 179 | if (stripos($absPathRoot, "Magento") !== false) { |
| 180 | 180 | $invalidPathMessage .= 'Magento\'s composer includes this by default, ' |
| 181 | - . 'it should be removed from the psr-4 section'; |
|
| 181 | + . 'it should be removed from the psr-4 section'; |
|
| 182 | 182 | } |
| 183 | 183 | $this->missingPaths[$path] = $invalidPathMessage; |
| 184 | 184 | } |