Completed
Push — master ( 3a30c8...8579f0 )
by Sébastien
03:13
created
src/PjbServer/Tools/StandaloneServer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/PjbServer/Tools/Network/PortTester.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.