@@ -192,14 +192,14 @@ |
||
192 | 192 | //$start = microtime(true); |
193 | 193 | //fwrite(STDERR, "\n".'Validating link: '.$href); |
194 | 194 | $context = stream_context_create([ |
195 | - 'http' => [ |
|
196 | - 'method' => 'HEAD', |
|
197 | - 'protocol_version' => 1.1, |
|
198 | - 'header' => [ |
|
199 | - 'Connection: close', |
|
200 | - ], |
|
201 | - ], |
|
202 | - ]); |
|
195 | + 'http' => [ |
|
196 | + 'method' => 'HEAD', |
|
197 | + 'protocol_version' => 1.1, |
|
198 | + 'header' => [ |
|
199 | + 'Connection: close', |
|
200 | + ], |
|
201 | + ], |
|
202 | + ]); |
|
203 | 203 | $result = null; |
204 | 204 | try { |
205 | 205 | $headers = get_headers($href, 0, $context); |
@@ -150,7 +150,7 @@ |
||
150 | 150 | $invalidPathMessage = "Namespace root '{$namespaceRoot}'\ncontains a path '{$path}'\nwhich doesn't exist\n"; |
151 | 151 | if (stripos($absPathRoot, 'Magento') !== false) { |
152 | 152 | $invalidPathMessage .= 'Magento\'s composer includes this by default, ' |
153 | - . 'it should be removed from the psr-4 section'; |
|
153 | + . 'it should be removed from the psr-4 section'; |
|
154 | 154 | } |
155 | 155 | $this->missingPaths[$path] = $invalidPathMessage; |
156 | 156 | } |
@@ -93,8 +93,8 @@ |
||
93 | 93 | )(); |
94 | 94 | |
95 | 95 | $finder = PhpCsFixer\Finder::create() |
96 | - ->in($projectRoot) |
|
97 | - ->exclude('var'); |
|
96 | + ->in($projectRoot) |
|
97 | + ->exclude('var'); |
|
98 | 98 | |
99 | 99 | return PhpCsFixer\Config::create() |
100 | 100 | ->setRules($rules) |