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 ( 510e98...b558b8 )
by Benjamin
04:04
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::FETCH_ASSOC
15
     */
16
    public const ASSOC = PDO::FETCH_ASSOC;
17
18
    /**
19
     * @see PDO::FETCH_NUM
20
     */
21
    public const NUMERIC = PDO::FETCH_NUM;
22
23
    /**
24
     * @see PDO::FETCH_BOTH
25
     */
26
    public const MIXED = PDO::FETCH_BOTH;
27
28
    /**
29
     * @see PDO::FETCH_OBJ
30
     */
31
    public const STD_OBJ = PDO::FETCH_OBJ;
32
33
    /**
34
     * @see PDO::FETCH_CLASS
35
     */
36
    public const CUSTOM_CLASS = PDO::FETCH_CLASS;
37
38
    /**
39
     * Allowed fetch modes.
40
     */
41
    public const ALLOWED_MODES = [
42
        'ASSOC' => self::ASSOC,
43
        'NUMERIC' => self::NUMERIC,
44
        'MIXED' => self::MIXED,
45
        'STD_OBJ' => self::STD_OBJ,
46
        'CUSTOM_CLASS' => self::CUSTOM_CLASS
47
    ];
48
49
    /**
50
     * FetchMode constructor.
51
     * This class cannot be instantiated.
52
     */
53
    private function __construct()
54
    {
55
    }
56
}
57