Passed
Push — master ( 565c26...461f06 )
by Aleksei
02:34
created

State::getTimeCreated()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * Spiral Framework.
5
 *
6
 * @license MIT
7
 * @author  Anton Titov (Wolfy-J)
8
 */
9
10
declare(strict_types=1);
11
12
namespace Cycle\Migrations;
13
14
use Cycle\Migrations\Migration\State as BaseState;
15
use Cycle\Migrations\Migration\Status;
16
17
/**
18
 * @psalm-import-type StatusEnum from Status
19
 *
20
 * @deprecated This class has been deprecated and moved into "Migration"
21
 *             namespace. Please use {@see BaseState} instead.
22
 */
23
final class State extends BaseState
24
{
25
    /**
26
     * @deprecated Please use {@see Status::STATUS_UNDEFINED} instead.
27
     * @var StatusEnum
28
     */
29
    public const STATUS_UNDEFINED = Status::STATUS_UNDEFINED;
30
31
    /**
32
     * @deprecated Please use {@see Status::STATUS_PENDING} instead.
33
     * @var StatusEnum
34
     */
35
    public const STATUS_PENDING = Status::STATUS_PENDING;
36
37
    /**
38
     * @deprecated Please use {@see Status::STATUS_EXECUTED} instead.
39
     * @var StatusEnum
40
     */
41
    public const STATUS_EXECUTED  = Status::STATUS_EXECUTED;
42
}
43