Completed
Push — master ( 926f1e...80db42 )
by Anton
10:25 queued 07:09
created

MigrateCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 18
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A configure() 0 12 1
1
<?php
2
/**
3
 * @copyright Bluz PHP Team
4
 * @link https://github.com/bluzphp/bluzman
5
 */
6
7
namespace Bluzman\Command\Db;
8
9
/**
10
 * Run migrate command
11
 *
12
 * @package  Bluzman\Command\Db
13
 * @author   Anton Shevchuk
14
 */
15
class MigrateCommand extends AbstractDbCommand
16
{
17
    /**
18
     * Command configuration
19
     */
20 14
    protected function configure()
21
    {
22
        $this
23
            // the name of the command (the part after "bin/bluzman")
24 14
            ->setName('db:migrate')
25
            // the short description shown while running "php bin/bluzman list"
26 14
            ->setDescription('Apply DB migrations')
27
            // the full command description shown when running the command with
28
            // the "--help" option
29 14
            ->setHelp('This command is shorthand to phinx tool')
30
        ;
31 14
    }
32
}
33