Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | protected function writeConfig(InputInterface $input, OutputInterface $output) |
||
|
|||
33 | { |
||
34 | $json = <<<EOT |
||
35 | { |
||
36 | "period": 1, |
||
37 | "watch": { |
||
38 | "web/css/": "*.css", |
||
39 | "web/js/": "*.js", |
||
40 | "web/img/": "\\\\.png|gif|jpg$" |
||
41 | } |
||
42 | } |
||
43 | EOT |
||
44 | ; |
||
45 | file_put_contents('livereload.json', $json); |
||
46 | $output->writeln("<info>livereload.json is generated.</info>"); |
||
47 | } |
||
48 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.