@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | $pid_file = $this->config['pid_file']; |
| 191 | 191 | try { |
| 192 | 192 | $pid = $this->getPid(); |
| 193 | - $running = $this->isProcessRunning($throws_exception=true); |
|
| 193 | + $running = $this->isProcessRunning($throws_exception = true); |
|
| 194 | 194 | if (!$running) { |
| 195 | 195 | if ($throws_exception) { |
| 196 | 196 | $msg = "Cannot stop: pid exists ($pid) but server process is not running"; |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | |
| 265 | 265 | $classpath = implode(':', $jars); |
| 266 | 266 | |
| 267 | - $directives = ' -D' . implode(' -D', [ |
|
| 267 | + $directives = ' -D'.implode(' -D', [ |
|
| 268 | 268 | 'php.java.bridge.daemon="false"', |
| 269 | 269 | 'php.java.bridge.threads=30' |
| 270 | 270 | ]); |
@@ -386,7 +386,7 @@ discard block |
||
| 386 | 386 | */ |
| 387 | 387 | protected function getDefaultConfig($port) |
| 388 | 388 | { |
| 389 | - $base_dir = realpath(__DIR__ . '/../../../'); |
|
| 389 | + $base_dir = realpath(__DIR__.'/../../../'); |
|
| 390 | 390 | $config = []; |
| 391 | 391 | foreach ($this->default_config as $key => $value) { |
| 392 | 392 | $tmp = str_replace('{base_dir}', $base_dir, $value); |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | } |
| 74 | 74 | } |
| 75 | 75 | if (!in_array($this->options['backend'], $this->supportedBackends)) { |
| 76 | - throw new \InvalidArgumentException("Unsupported backend '" . $this->options['backend'] . "'"); |
|
| 76 | + throw new \InvalidArgumentException("Unsupported backend '".$this->options['backend']."'"); |
|
| 77 | 77 | } |
| 78 | 78 | } |
| 79 | 79 | |