State   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Migrations\Version;
6
7
/**
8
 * The State class contains constants for the different states a migration can be in during execution.
9
 *
10
 * @internal
11
 */
12
final class State
13
{
14
    public const NONE = 0;
15
16
    public const PRE = 1;
17
18
    public const EXEC = 2;
19
20
    public const POST = 3;
21
22
    public const STATES = [
23
        self::NONE,
24
        self::PRE,
25
        self::EXEC,
26
        self::POST,
27
    ];
28
29
    /**
30
     * This class cannot be instantiated.
31
     */
32
    private function __construct()
33
    {
34
    }
35
}
36