This class seems to be duplicated in your project.
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.
Loading history...
14
{
15
use DbHelper;
16
17
/**
18
* Configuration of command
19
*/
20
protected function configure()
21
{
22
$this
23
->setName('migrate:up')
24
->setDescription('Command for run migration')
25
;
26
}
27
28
/**
29
* Execute method of command
30
*
31
* @param InputInterface $input
32
* @param OutputInterface $output
33
*
34
* @return void
35
*/
36
protected function execute(InputInterface $input, OutputInterface $output)
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.