GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 21cf6c...173932 )
by Benjamin
03:31 queued 48s
created

FetchMode   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 50
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
namespace Lib\DB\DBAL;
4
5
use \PDO;
6
7
/**
8
 * Class FetchMode
9
 * @package Lib\DB\DBAL
10
 */
11
final class FetchMode
12
{
13
    /**
14
     * @see PDO::ATTR_DEFAULT_FETCH_MODE
15
     */
16
    public const DEFAULT = PDO::ATTR_DEFAULT_FETCH_MODE;
17
18
    /**
19
     * @see PDO::FETCH_ASSOC
20
     */
21
    public const ASSOC = PDO::FETCH_ASSOC;
22
23
    /**
24
     * @see PDO::FETCH_NUM
25
     */
26
    public const NUMERIC = PDO::FETCH_NUM;
27
28
    /**
29
     * @see PDO::FETCH_BOTH
30
     */
31
    public const MIXED = PDO::FETCH_BOTH;
32
33
    /**
34
     * @see PDO::FETCH_OBJ
35
     */
36
    public const STD_OBJ = PDO::FETCH_OBJ;
37
38
    /**
39
     * @see PDO::FETCH_CLASS
40
     */
41
    public const CUSTOM_CLASS = PDO::FETCH_CLASS;
42
43
    /**
44
     * Allowed fetch modes.
45
     */
46
    public const ALLOWED_MODES = [
47
        'DEFAULT' => self::DEFAULT,
48
        'ASSOC' => self::ASSOC,
49
        'NUMERIC' => self::NUMERIC,
50
        'MIXED' => self::MIXED,
51
        'STD_OBJ' => self::STD_OBJ,
52
        'CUSTOM_CLASS' => self::CUSTOM_CLASS
53
    ];
54
55
    /**
56
     * FetchMode constructor.
57
     * This class cannot be instantiated.
58
     */
59
    private function __construct()
60
    {
61
    }
62
}
63