@@ -27,31 +27,31 @@ discard block |
||
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 |
||
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 |