@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * @param LoggerInterface $logger |
69 | 69 | * |
70 | 70 | */ |
71 | - public function __construct(StandaloneServer\Config $config, LoggerInterface $logger=null) |
|
71 | + public function __construct(StandaloneServer\Config $config, LoggerInterface $logger = null) |
|
72 | 72 | { |
73 | 73 | $this->config = $config; |
74 | 74 | |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | * @param boolean $clearPidFileOnException clear th pid file if the server was not running |
176 | 176 | * @return void |
177 | 177 | */ |
178 | - public function stop($throwException=false, $clearPidFileOnException=false) |
|
178 | + public function stop($throwException = false, $clearPidFileOnException = false) |
|
179 | 179 | { |
180 | 180 | $this->logger->notice("Stopping server"); |
181 | 181 | |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | * @param boolean $test_is_running |
245 | 245 | * @return boolean |
246 | 246 | */ |
247 | - public function isStarted($test_is_running=true) |
|
247 | + public function isStarted($test_is_running = true) |
|
248 | 248 | { |
249 | 249 | // In case of previous run, let's us |
250 | 250 | if (!$this->started && $test_is_running) { |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | $classpath = implode(':', $jars); |
284 | 284 | $threads = $this->config->getThreads(); |
285 | 285 | |
286 | - $directives = ' -D' . implode(' -D', [ |
|
286 | + $directives = ' -D'.implode(' -D', [ |
|
287 | 287 | 'php.java.bridge.daemon="false"', |
288 | 288 | "php.java.bridge.threads=$threads" |
289 | 289 | ]); |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | * @param boolean $throwsException if false discard exception if pidfile not exists |
350 | 350 | * @return boolean |
351 | 351 | */ |
352 | - public function isProcessRunning($throwsException=false) |
|
352 | + public function isProcessRunning($throwsException = false) |
|
353 | 353 | { |
354 | 354 | $running = false; |
355 | 355 | try { |