Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class BiCoreBundleCreatedatabaseCommand extends ContainerAwareCommand |
||
11 | { |
||
12 | |||
13 | 3 | protected function configure() |
|
14 | { |
||
15 | $this |
||
16 | 3 | ->setName('bicorebundle:createdatabase') |
|
17 | 3 | ->setDescription('Creazione database bi') |
|
18 | 3 | ->setHelp('Creazione di un nuovo database di bi'); |
|
19 | 3 | } |
|
20 | |||
21 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
38 | 1 | } |
|
39 | } |
||
40 |
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.