Completed
Push — master ( ff6969...819f66 )
by Sébastien
13s queued 11s
created
src/PjbServer/Tools/Console/Command/PjbServerStartCommand.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -25,20 +25,20 @@
 block discarded – undo
25 25
     protected function configure(): void
26 26
     {
27 27
         $this->setName('pjbserver:start')
28
-             ->setDescription(
29
-                 'Start the standalone pjb server (java)'
30
-             )
28
+                ->setDescription(
29
+                    'Start the standalone pjb server (java)'
30
+                )
31 31
             ->addArgument(
32 32
                 'config-file',
33 33
                 InputArgument::REQUIRED,
34 34
                 'Configuration file, see ./dist/pjbserver.config.php.dist'
35 35
             )
36 36
 
37
-             ->setHelp(
38
-                 <<<'EOT'
37
+                ->setHelp(
38
+                    <<<'EOT'
39 39
 Start the php java bridge server in the background.
40 40
 EOT
41
-             );
41
+                );
42 42
     }
43 43
 
44 44
     protected function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.
bin/pjbserver-tools.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
     // Step 1: init autoloader
6 6
 
7 7
     $autoloadFiles = [__DIR__ . '/../vendor/autoload.php',
8
-                           __DIR__ . '/../../../autoload.php'];
8
+                            __DIR__ . '/../../../autoload.php'];
9 9
 
10 10
     $found = false;
11 11
     foreach ($autoloadFiles as $autoloadFile) {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@  discard block
 block discarded – undo
4 4
 try {
5 5
     // Step 1: init autoloader
6 6
 
7
-    $autoloadFiles = [__DIR__ . '/../vendor/autoload.php',
8
-                           __DIR__ . '/../../../autoload.php'];
7
+    $autoloadFiles = [__DIR__.'/../vendor/autoload.php',
8
+                           __DIR__.'/../../../autoload.php'];
9 9
 
10 10
     $found = false;
11 11
     foreach ($autoloadFiles as $autoloadFile) {
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         throw new \Exception('Cannot find composer vendor autoload, run composer update');
20 20
     }
21 21
 } catch (\Exception $e) {
22
-    echo $e->getMessage() . "\n";
22
+    echo $e->getMessage()."\n";
23 23
     exit(1);
24 24
 }
25 25
 
Please login to merge, or discard this patch.