@@ -14,8 +14,8 @@ |
||
| 14 | 14 | } |
| 15 | 15 | if (!$autoloadFileFound) { |
| 16 | 16 | echo 'You need to set up the project dependencies using the following commands:'.PHP_EOL. |
| 17 | - 'curl -s http://getcomposer.org/installer | php'.PHP_EOL. |
|
| 18 | - 'php composer.phar install'.PHP_EOL; |
|
| 17 | + 'curl -s http://getcomposer.org/installer | php'.PHP_EOL. |
|
| 18 | + 'php composer.phar install'.PHP_EOL; |
|
| 19 | 19 | die(1); |
| 20 | 20 | } |
| 21 | 21 | |
@@ -133,14 +133,14 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | return $noXdebugFunction |
| 136 | - .'cd '.$this->htdocsPath.';' |
|
| 137 | - .$nohup |
|
| 138 | - .'php' |
|
| 139 | - .$iniPathConfig |
|
| 140 | - .' -d error_reporting=E_ALL' |
|
| 141 | - .' -d error_log=\''.$logFilePath.'\'' |
|
| 142 | - .' -S '.$this->ipAddress.':'.$this->port.' '.$this->routerPath |
|
| 143 | - .$detatch; |
|
| 136 | + .'cd '.$this->htdocsPath.';' |
|
| 137 | + .$nohup |
|
| 138 | + .'php' |
|
| 139 | + .$iniPathConfig |
|
| 140 | + .' -d error_reporting=E_ALL' |
|
| 141 | + .' -d error_log=\''.$logFilePath.'\'' |
|
| 142 | + .' -S '.$this->ipAddress.':'.$this->port.' '.$this->routerPath |
|
| 143 | + .$detatch; |
|
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | public const IP_LOCALHOST = '0.0.0.0'; |
| 18 | 18 | public const IP_CALCULATE_NETWORK_IP = 'calculate'; |
| 19 | 19 | public const IP_CALCULATE_CMD = 'ip route get 8.8.8.8 | ' |
| 20 | - . 'awk \'{ for (nn=1;nn<=NF;nn++) if ($nn~"src") print $(nn+1) }\' '; |
|
| 20 | + . 'awk \'{ for (nn=1;nn<=NF;nn++) if ($nn~"src") print $(nn+1) }\' '; |
|
| 21 | 21 | public const DEFAULT_IP = self::IP_LOCALHOST; |
| 22 | 22 | |
| 23 | 23 | public const KEY_PORT = 'MockServer_Port'; |