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.

FetchMode::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

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