@@ -2,12 +2,12 @@  | 
                                                    ||
| 2 | 2 | |
| 3 | 3 | /* Find bootstrap path */  | 
                                                        
| 4 | 4 | $rootPath = realpath(dirname(__FILE__));  | 
                                                        
| 5 | -while (!file_exists($rootPath . '/app/bootstrap.php') || $rootPath == '/') { | 
                                                        |
| 5 | +while (!file_exists($rootPath.'/app/bootstrap.php') || $rootPath == '/') { | 
                                                        |
| 6 | 6 | $rootPath = realpath(dirname($rootPath));  | 
                                                        
| 7 | 7 | }  | 
                                                        
| 8 | 8 | |
| 9 | 9 | /* Include Magento bootstrap file */  | 
                                                        
| 10 | -require_once $rootPath . '/app/bootstrap.php';  | 
                                                        |
| 10 | +require_once $rootPath.'/app/bootstrap.php';  | 
                                                        |
| 11 | 11 | |
| 12 | 12 | /* Create git hook class autoloader */  | 
                                                        
| 13 | 13 | $_git_hook_loaded_class = [];  | 
                                                        
@@ -113,7 +113,7 @@  | 
                                                    ||
| 113 | 113 | $realPath,  | 
                                                        
| 114 | 114 | \RecursiveDirectoryIterator::SKIP_DOTS  | 
                                                        
| 115 | 115 | );  | 
                                                        
| 116 | - $iterator = new \RecursiveIteratorIterator(  | 
                                                        |
| 116 | + $iterator = new \RecursiveIteratorIterator(  | 
                                                        |
| 117 | 117 | $directoryIterator,  | 
                                                        
| 118 | 118 | \RecursiveIteratorIterator::SELF_FIRST  | 
                                                        
| 119 | 119 | );  | 
                                                        
@@ -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 | }  | 
                                                        
@@ -122,7 +122,7 @@ discard block  | 
                                                    ||
| 122 | 122 | '',  | 
                                                        
| 123 | 123 | \dirname($file)  | 
                                                        
| 124 | 124 | );  | 
                                                        
| 125 | - $start .= '/'.\rtrim($relativeSubdirs, '/');  | 
                                                        |
| 125 | + $start .= '/'.\rtrim($relativeSubdirs, '/');  | 
                                                        |
| 126 | 126 | }  | 
                                                        
| 127 | 127 | $realpath = \realpath($start.'/'.$path);  | 
                                                        
| 128 | 128 |          if (empty($realpath) || (!\file_exists($realpath) && !\is_dir($realpath))) { | 
                                                        
@@ -166,7 +166,7 @@ discard block  | 
                                                    ||
| 166 | 166 | $context = stream_context_create(['http' => ['method' => 'HEAD']]);  | 
                                                        
| 167 | 167 | $result = null;  | 
                                                        
| 168 | 168 |          try { | 
                                                        
| 169 | - $headers=get_headers($link, 0, $context);  | 
                                                        |
| 169 | + $headers = get_headers($link, 0, $context);  | 
                                                        |
| 170 | 170 |              foreach ($headers as $header) { | 
                                                        
| 171 | 171 |                  if (false !== strpos($header, ' 200 ')) { | 
                                                        
| 172 | 172 | return;  | 
                                                        
@@ -180,6 +180,6 @@ discard block  | 
                                                    ||
| 180 | 180 | $link,  | 
                                                        
| 181 | 181 | var_export($result, true)  | 
                                                        
| 182 | 182 | );  | 
                                                        
| 183 | - $return = 1;  | 
                                                        |
| 183 | + $return = 1;  | 
                                                        |
| 184 | 184 | }  | 
                                                        
| 185 | 185 | }  |