Completed
Push — master ( 11b67b...3a0a1d )
by Sergei
19:09 queued 19:04
created

Types   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 26
dl 0
loc 32
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\DBAL\Types;
6
7
/**
8
 * Default built-in types provided by Doctrine DBAL.
9
 */
10
final class Types
11
{
12
    public const ARRAY                = 'array';
13
    public const BIGINT               = 'bigint';
14
    public const BINARY               = 'binary';
15
    public const BLOB                 = 'blob';
16
    public const BOOLEAN              = 'boolean';
17
    public const DATE_MUTABLE         = 'date';
18
    public const DATE_IMMUTABLE       = 'date_immutable';
19
    public const DATEINTERVAL         = 'dateinterval';
20
    public const DATETIME_MUTABLE     = 'datetime';
21
    public const DATETIME_IMMUTABLE   = 'datetime_immutable';
22
    public const DATETIMETZ_MUTABLE   = 'datetimetz';
23
    public const DATETIMETZ_IMMUTABLE = 'datetimetz_immutable';
24
    public const DECIMAL              = 'decimal';
25
    public const FLOAT                = 'float';
26
    public const GUID                 = 'guid';
27
    public const INTEGER              = 'integer';
28
    public const JSON                 = 'json';
29
    public const OBJECT               = 'object';
30
    public const SIMPLE_ARRAY         = 'simple_array';
31
    public const SMALLINT             = 'smallint';
32
    public const STRING               = 'string';
33
    public const TEXT                 = 'text';
34
    public const TIME_MUTABLE         = 'time';
35
    public const TIME_IMMUTABLE       = 'time_immutable';
36
37
    /** @deprecated json_array type is deprecated, use {@see DefaultTypes::JSON} instead. */
38
    public const JSON_ARRAY = 'json_array';
39
40
    private function __construct()
41
    {
42
    }
43
}
44