Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 86.67% |
Changes | 0 |
1 | <?php |
||
11 | class Fifree2dropdatabaseCommand extends ContainerAwareCommand |
||
12 | { |
||
13 | |||
14 | 3 | protected function configure() |
|
15 | { |
||
16 | $this |
||
17 | 3 | ->setName('fifree2:dropdatabase') |
|
18 | 3 | ->setDescription('Cancellazione database fifree') |
|
19 | 3 | ->setHelp('Cancella il database e tutti i dati di fifree') |
|
20 | 3 | ->addOption('force', null, InputOption::VALUE_NONE, 'Se non impostato, il comando non avrà effetto'); |
|
21 | 3 | } |
|
22 | |||
23 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
37 | 1 | } |
|
38 | } |
||
39 |
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.