| Conditions | 3 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 23 | { |
||
| 24 | $forceRewrite = $input->getOption('force'); |
||
| 25 | if(!$forceRewrite && file_exists('livereload.json')){ |
||
| 26 | $output->writeln("<error>livereload.json file exists.\nplease use --force to overwrite.</error>"); |
||
| 27 | return; |
||
| 28 | } |
||
| 29 | $this->writeConfig($input, $output); |
||
| 30 | } |
||
| 31 | |||
| 48 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.