Completed
Push — master ( c40b79...ef0e4a )
by George
03:50
created
src/SiteChecker/Commands/CheckCommand.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -27,31 +27,31 @@  discard block
 block discarded – undo
27 27
     protected function configure()
28 28
     {
29 29
         $this->setName("site-checker:check")
30
-          ->setDescription("Display the fibonacci numbers between 2 given numbers")
31
-          ->setDefinition([
30
+            ->setDescription("Display the fibonacci numbers between 2 given numbers")
31
+            ->setDefinition([
32 32
             new InputArgument('site', InputArgument::REQUIRED),
33 33
             new InputOption('check-external', 'e', InputOption::VALUE_NONE,
34
-              'Check external links'),
34
+                'Check external links'),
35 35
             new InputOption('log-success', 's', InputOption::VALUE_NONE,
36
-              'Log successful page loads'),
36
+                'Log successful page loads'),
37 37
             new InputOption('full-html', 'f', InputOption::VALUE_NONE,
38
-              'Show full html tag of element in log'),
39
-          ])
40
-          ->setHelp(<<<EOT
38
+                'Show full html tag of element in log'),
39
+            ])
40
+            ->setHelp(<<<EOT
41 41
 Checks a site for broken links and missing files (CSS, js, images)
42 42
 
43 43
 Usage:
44 44
 
45 45
 <info> sitechecker http://site.url</info>
46 46
 EOT
47
-          );
47
+            );
48 48
     }
49 49
 
50 50
     protected function execute(InputInterface $input, OutputInterface $output)
51 51
     {
52 52
 
53 53
         $header_style = new OutputFormatterStyle('white', 'green',
54
-          array('bold'));
54
+            array('bold'));
55 55
         $output->getFormatter()->setStyle('header', $header_style);
56 56
 
57 57
         $site = $input->getArgument('site');
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $verbosityLevelMap = [];
62 62
         if ($input->getOption('log-success')) {
63 63
             $verbosityLevelMap = array(
64
-              LogLevel::INFO => OutputInterface::VERBOSITY_NORMAL,
64
+                LogLevel::INFO => OutputInterface::VERBOSITY_NORMAL,
65 65
             );
66 66
         }
67 67
 
Please login to merge, or discard this patch.