@@ -25,20 +25,20 @@ |
||
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) |
@@ -5,7 +5,7 @@ |
||
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) { |
@@ -4,8 +4,8 @@ discard block |
||
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 |
||
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 |