Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 9 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
19 | protected function configure() |
||
20 | { |
||
21 | parent::configure(); |
||
22 | |||
23 | $this |
||
24 | ->setName('doctrine:schema:create') |
||
25 | ->setDescription('Executes (or dumps) the SQL needed to generate the database schema') |
||
26 | ->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); |
||
27 | } |
||
28 | |||
39 |
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.