@@ -38,20 +38,20 @@ |
||
| 38 | 38 | SIGNATURE; |
| 39 | 39 | |
| 40 | 40 | $this |
| 41 | - ->setDisplayName($signature."\n".'Hogosha Monitoring Tool') |
|
| 41 | + ->setDisplayName($signature . "\n" . 'Hogosha Monitoring Tool') |
|
| 42 | 42 | ->setName('monitor') |
| 43 | 43 | ->setVersion(Monitor::VERSION) |
| 44 | 44 | ->addOption('config', 'c', Option::OPTIONAL_VALUE, 'Config file path', rtrim(getcwd(), DIRECTORY_SEPARATOR)) |
| 45 | 45 | ->beginCommand('init') |
| 46 | 46 | ->setDescription('Create a default configuration file if you do not have one') |
| 47 | - ->setHandler(function () use ($configurationLoader, $configurationDumper, $filesystem) { |
|
| 47 | + ->setHandler(function() use ($configurationLoader, $configurationDumper, $filesystem) { |
|
| 48 | 48 | return new InitHandler($configurationLoader, $configurationDumper, $filesystem); |
| 49 | 49 | }) |
| 50 | 50 | ->setHelp('php <info>bin/monitor</info> init') |
| 51 | 51 | ->end() |
| 52 | 52 | ->beginCommand('run') |
| 53 | 53 | ->setDescription('Launch the monitor process') |
| 54 | - ->setHandler(function () use ($configurationLoader) { |
|
| 54 | + ->setHandler(function() use ($configurationLoader) { |
|
| 55 | 55 | return new RunHandler($configurationLoader); |
| 56 | 56 | }) |
| 57 | 57 | ->setHelp('php <info>bin/monitor</info> init') |