MigrateCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 25
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A configure() 0 3 1
1
<?php
2
3
namespace Rougin\Refinery\Console;
4
5
/**
6
 * Migrate Command
7
 *
8
 * @package Refinery
9
 * @author  Rougin Gutib <[email protected]>
10
 */
11
class MigrateCommand extends ChangeCommand
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $done = 'Migrated: ';
17
18
    /**
19
     * @var string
20
     */
21
    protected $pending = 'Migrating:';
22
23
    /**
24
     * @var boolean
25
     */
26
    protected $reversed = false;
27
28
    /**
29
     * Configures the current command.
30
     *
31
     * @return void
32
     */
33 24
    protected function configure()
34
    {
35 24
        $this->setName('migrate')->setDescription('Migrates to the latest schema version');
36 24
    }
37
}
38