Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 9 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
18 | protected function configure() |
||
19 | { |
||
20 | parent::configure(); |
||
21 | |||
22 | $this |
||
23 | ->setName('doctrine:schema:drop') |
||
24 | ->setDescription('Executes (or dumps) the SQL needed to drop the current database schema') |
||
25 | ->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); |
||
26 | } |
||
27 | |||
38 |
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.