Completed
Push — master ( e90d96...66a61f )
by Sébastien
03:21
created
src/PjbServer/Tools/Console/Command/PjbServerRestartCommand.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -24,15 +24,15 @@
 block discarded – undo
24 24
     protected function configure()
25 25
     {
26 26
         $this->setName('pjbserver:restart')
27
-             ->setDescription(
28
-                 'Restart the standalone pjb server (java)'
29
-               )
30
-             ->addArgument(
27
+                ->setDescription(
28
+                    'Restart the standalone pjb server (java)'
29
+                )
30
+                ->addArgument(
31 31
                 'config-file',
32 32
                 InputArgument::REQUIRED,
33 33
                 'Configuration file, see ./dist/pjbserver.config.php.dist'
34
-               )
35
-             ->setHelp(<<<EOT
34
+                )
35
+                ->setHelp(<<<EOT
36 36
 Start the php java bridge server in the background.
37 37
 EOT
38 38
         );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,6 +54,6 @@
 block discarded – undo
54 54
         $this->server = new StandaloneServer($config);
55 55
         $this->server->restart();
56 56
 
57
-        $output->write("Server successfully restarted on port $port" . PHP_EOL);
57
+        $output->write("Server successfully restarted on port $port".PHP_EOL);
58 58
     }
59 59
 }
Please login to merge, or discard this patch.
src/PjbServer/Tools/Console/Command/PjbServerStopCommand.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,15 +24,15 @@
 block discarded – undo
24 24
     protected function configure()
25 25
     {
26 26
         $this->setName('pjbserver:stop')
27
-             ->setDescription(
28
-                 'Stop the standalone pjb server (java)'
29
-               )
27
+                ->setDescription(
28
+                    'Stop the standalone pjb server (java)'
29
+                )
30 30
             ->addArgument(
31 31
                 'config-file',
32 32
                 InputArgument::REQUIRED,
33 33
                 'Configuration file, see ./dist/pjbserver.config.php.dist'
34 34
             )
35
-             ->setHelp(<<<EOT
35
+                ->setHelp(<<<EOT
36 36
 Stop the standalone php java bridge server (running in the background).
37 37
 EOT
38 38
         );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,6 +55,6 @@
 block discarded – undo
55 55
 
56 56
         $this->server->stop();
57 57
 
58
-        $output->write("Server running on port $port successfully stopped" . PHP_EOL);
58
+        $output->write("Server running on port $port successfully stopped".PHP_EOL);
59 59
     }
60 60
 }
Please login to merge, or discard this patch.
src/PjbServer/Tools/Console/Command/PjbServerStartCommand.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,16 +24,16 @@
 block discarded – undo
24 24
     protected function configure()
25 25
     {
26 26
         $this->setName('pjbserver:start')
27
-             ->setDescription(
28
-                 'Start the standalone pjb server (java)'
29
-               )
27
+                ->setDescription(
28
+                    'Start the standalone pjb server (java)'
29
+                )
30 30
             ->addArgument(
31 31
                 'config-file',
32 32
                 InputArgument::REQUIRED,
33 33
                 'Configuration file, see ./dist/pjbserver.config.php.dist'
34 34
             )
35 35
 
36
-             ->setHelp(<<<EOT
36
+                ->setHelp(<<<EOT
37 37
 Start the php java bridge server in the background.
38 38
 EOT
39 39
         );
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,6 @@
 block discarded – undo
56 56
         $this->server = new StandaloneServer($config);
57 57
         $this->server->start();
58 58
 
59
-        $output->write("Server successfully started on port $port" . PHP_EOL);
59
+        $output->write("Server successfully started on port $port".PHP_EOL);
60 60
     }
61 61
 }
Please login to merge, or discard this patch.