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 ( b88bc4...2341f0 )
by Benjamin
02:09
created

FetchMode::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
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