Completed
Pull Request — master (#5)
by David
02:09
created
src/Commands/ListAssetTypesCommand.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
     protected function configure()
19 19
     {
20 20
         $this->setName('discovery:list')
21
-             ->setDescription('List the values of the asset type passed in parameter (or list all asset types if no parameter is passed)')
22
-             ->addArgument('asset-type', InputArgument::OPTIONAL, 'The asset type to list')
23
-             ->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt or json)', 'txt');
21
+                ->setDescription('List the values of the asset type passed in parameter (or list all asset types if no parameter is passed)')
22
+                ->addArgument('asset-type', InputArgument::OPTIONAL, 'The asset type to list')
23
+                ->addOption('format', null, InputOption::VALUE_REQUIRED, 'The output format (txt or json)', 'txt');
24 24
     }
25 25
 
26 26
     protected function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.
src/Commands/DumpCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     protected function configure()
20 20
     {
21 21
         $this->setName('discovery:dump')
22
-             ->setDescription('Regenerates the Discovery class (in the .discovery folder). This is automatically triggered on install and update.');
22
+                ->setDescription('Regenerates the Discovery class (in the .discovery folder). This is automatically triggered on install and update.');
23 23
     }
24 24
 
25 25
     protected function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.
src/Commands/AddAssetCommand.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 block discarded – undo
22 22
     protected function configure()
23 23
     {
24 24
         $this->setName('discovery:add')
25
-             ->setDescription('Add an asset')
26
-             ->addArgument('asset-type', InputArgument::REQUIRED, 'The asset type')
27
-             ->addArgument('value', InputArgument::REQUIRED, 'The asset to add')
28
-             ->addOption('priority', 'p', InputOption::VALUE_REQUIRED, 'The priority', 0.0);
25
+                ->setDescription('Add an asset')
26
+                ->addArgument('asset-type', InputArgument::REQUIRED, 'The asset type')
27
+                ->addArgument('value', InputArgument::REQUIRED, 'The asset to add')
28
+                ->addOption('priority', 'p', InputOption::VALUE_REQUIRED, 'The priority', 0.0);
29 29
     }
30 30
 
31 31
     protected function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.
src/Commands/RemoveAssetCommand.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@
 block discarded – undo
22 22
     protected function configure()
23 23
     {
24 24
         $this->setName('discovery:remove')
25
-             ->setDescription('Remove an asset')
26
-             ->addArgument('asset-type', InputArgument::REQUIRED, 'The asset type')
27
-             ->addArgument('value', InputArgument::REQUIRED, 'The asset to remove');
25
+                ->setDescription('Remove an asset')
26
+                ->addArgument('asset-type', InputArgument::REQUIRED, 'The asset type')
27
+                ->addArgument('value', InputArgument::REQUIRED, 'The asset to remove');
28 28
     }
29 29
 
30 30
     protected function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.