| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | |
| 35 | 35 | /** | 
| 36 | 36 | * @param Config $config | 
| 37 | - * @return bool|string | |
| 37 | + * @return string|false | |
| 38 | 38 | */ | 
| 39 | 39 | protected function getCommand(Config $config) | 
| 40 | 40 |      { | 
| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | |
| 35 | 35 | /** | 
| 36 | 36 | * @param Config $config | 
| 37 | - * @return bool|string | |
| 37 | + * @return string|false | |
| 38 | 38 | */ | 
| 39 | 39 | protected function getCommand(Config $config) | 
| 40 | 40 |      { | 
| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | |
| 35 | 35 | /** | 
| 36 | 36 | * @param Config $config | 
| 37 | - * @return bool|string | |
| 37 | + * @return string|false | |
| 38 | 38 | */ | 
| 39 | 39 | protected function getCommand(Config $config) | 
| 40 | 40 |      { | 
| @@ -9,8 +9,8 @@ | ||
| 9 | 9 | /** | 
| 10 | 10 | * @param array $options | 
| 11 | 11 | * @param array $config | 
| 12 | - * @param $projectPath | |
| 13 | - * @param $output | |
| 12 | + * @param string $projectPath | |
| 13 | + * @param \Symfony\Component\Console\Output\OutputInterface $output | |
| 14 | 14 | * @return Magento2Project|MagentoProject | 
| 15 | 15 | */ | 
| 16 | 16 | public static function create(array $options, array $config, $projectPath, $output) | 
| @@ -6,12 +6,12 @@ | ||
| 6 | 6 | $privateKey = "$argv[2]"; | 
| 7 | 7 | |
| 8 | 8 | $contents = [ | 
| 9 | - "http-basic" => [ | |
| 10 | - "repo.magento.com" => [ | |
| 11 | - "username" => $publicKey, | |
| 12 | - "password" => $privateKey, | |
| 13 | - ] | |
| 14 | - ] | |
| 9 | + "http-basic" => [ | |
| 10 | + "repo.magento.com" => [ | |
| 11 | + "username" => $publicKey, | |
| 12 | + "password" => $privateKey, | |
| 13 | + ] | |
| 14 | + ] | |
| 15 | 15 | ]; | 
| 16 | 16 | |
| 17 | 17 | |
| @@ -4,48 +4,48 @@ | ||
| 4 | 4 | $env = include $file; | 
| 5 | 5 | |
| 6 | 6 | $env['cache'] = | 
| 7 | - array ( | |
| 8 | - 'frontend' => | |
| 9 | - array ( | |
| 10 | - 'default' => | |
| 11 | - array ( | |
| 12 | - 'backend' => 'Cm_Cache_Backend_Redis', | |
| 13 | - 'backend_options' => | |
| 14 | - array ( | |
| 15 | - 'server' => '127.0.0.1', | |
| 16 | - 'port' => '6379', | |
| 17 | - 'persistent' => '', | |
| 18 | - 'database' => '0', | |
| 19 | - 'force_standalone' => '0', | |
| 20 | - 'connect_retries' => '1', | |
| 21 | - 'read_timeout' => '10', | |
| 22 | - 'automatic_cleaning_factor' => '0', | |
| 23 | - 'compress_data' => '1', | |
| 24 | - 'compress_tags' => '1', | |
| 25 | - 'compress_threshold' => '20480', | |
| 26 | - 'compression_lib' => 'gzip', | |
| 7 | + array ( | |
| 8 | + 'frontend' => | |
| 9 | + array ( | |
| 10 | + 'default' => | |
| 11 | + array ( | |
| 12 | + 'backend' => 'Cm_Cache_Backend_Redis', | |
| 13 | + 'backend_options' => | |
| 14 | + array ( | |
| 15 | + 'server' => '127.0.0.1', | |
| 16 | + 'port' => '6379', | |
| 17 | + 'persistent' => '', | |
| 18 | + 'database' => '0', | |
| 19 | + 'force_standalone' => '0', | |
| 20 | + 'connect_retries' => '1', | |
| 21 | + 'read_timeout' => '10', | |
| 22 | + 'automatic_cleaning_factor' => '0', | |
| 23 | + 'compress_data' => '1', | |
| 24 | + 'compress_tags' => '1', | |
| 25 | + 'compress_threshold' => '20480', | |
| 26 | + 'compression_lib' => 'gzip', | |
| 27 | 27 | ) | 
| 28 | - ), | |
| 29 | - 'page_cache' => | |
| 30 | - array ( | |
| 31 | - 'backend' => 'Cm_Cache_Backend_Redis', | |
| 32 | - 'backend_options' => | |
| 33 | - array ( | |
| 34 | - 'server' => '127.0.0.1', | |
| 35 | - 'port' => '6379', | |
| 36 | - 'persistent' => '', | |
| 37 | - 'database' => '1', | |
| 38 | - 'force_standalone' => '0', | |
| 39 | - 'connect_retries' => '1', | |
| 40 | - 'read_timeout' => '10', | |
| 41 | - 'automatic_cleaning_factor' => '0', | |
| 42 | - 'compress_data' => '0', | |
| 43 | - 'compress_tags' => '1', | |
| 44 | - 'compress_threshold' => '20480', | |
| 45 | - 'compression_lib' => 'gzip', | |
| 46 | - ), | |
| 47 | - ), | |
| 48 | - ) | |
| 49 | - ); | |
| 28 | + ), | |
| 29 | + 'page_cache' => | |
| 30 | + array ( | |
| 31 | + 'backend' => 'Cm_Cache_Backend_Redis', | |
| 32 | + 'backend_options' => | |
| 33 | + array ( | |
| 34 | + 'server' => '127.0.0.1', | |
| 35 | + 'port' => '6379', | |
| 36 | + 'persistent' => '', | |
| 37 | + 'database' => '1', | |
| 38 | + 'force_standalone' => '0', | |
| 39 | + 'connect_retries' => '1', | |
| 40 | + 'read_timeout' => '10', | |
| 41 | + 'automatic_cleaning_factor' => '0', | |
| 42 | + 'compress_data' => '0', | |
| 43 | + 'compress_tags' => '1', | |
| 44 | + 'compress_threshold' => '20480', | |
| 45 | + 'compression_lib' => 'gzip', | |
| 46 | + ), | |
| 47 | + ), | |
| 48 | + ) | |
| 49 | + ); | |
| 50 | 50 | |
| 51 | 51 | file_put_contents($file, "<?php \n \n return ".var_export($env,true).";"); | 
| @@ -56,21 +56,21 @@ | ||
| 56 | 56 | public function getAllOptions() | 
| 57 | 57 |      { | 
| 58 | 58 | return [ | 
| 59 | - 'app' => $this->_app, | |
| 60 | - 'server' => $this->_server, | |
| 61 | - 'phpver' => $this->_phpVer, | |
| 62 | - 'os' => $this->_os, | |
| 63 | - 'box' => $this->_box, | |
| 64 | - 'm2user' => $this->_m2Username, | |
| 65 | - 'm2pass' => $this->_m2Password, | |
| 66 | - 'repo_url' => $this->_repoUrl, | |
| 67 | - 'ip_address' => $this->_ipAddress, | |
| 68 | - 'cpus' => $this->_cpus, | |
| 69 | - 'memory_limit' => $this->_memorylimit, | |
| 70 | - 'locale' => $this->_locale, | |
| 71 | - 'default_currency' => $this->_currency, | |
| 72 | - 'base_url' => $this->_baseUrl, | |
| 73 | - 'installSampleData' => $this->installSampleData, | |
| 59 | + 'app' => $this->_app, | |
| 60 | + 'server' => $this->_server, | |
| 61 | + 'phpver' => $this->_phpVer, | |
| 62 | + 'os' => $this->_os, | |
| 63 | + 'box' => $this->_box, | |
| 64 | + 'm2user' => $this->_m2Username, | |
| 65 | + 'm2pass' => $this->_m2Password, | |
| 66 | + 'repo_url' => $this->_repoUrl, | |
| 67 | + 'ip_address' => $this->_ipAddress, | |
| 68 | + 'cpus' => $this->_cpus, | |
| 69 | + 'memory_limit' => $this->_memorylimit, | |
| 70 | + 'locale' => $this->_locale, | |
| 71 | + 'default_currency' => $this->_currency, | |
| 72 | + 'base_url' => $this->_baseUrl, | |
| 73 | + 'installSampleData' => $this->installSampleData, | |
| 74 | 74 | ]; | 
| 75 | 75 | } | 
| 76 | 76 | |