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 ( dd0aba...013e7d )
by Cees-Jan
12:23 queued 02:28
created

File::deletions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource\Repository\Commit;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Resource\AbstractResource;
7
8
/**
9
 * @EmptyResource("Repository\Commit\EmptyFile")
10
 */
11
abstract class File extends AbstractResource implements FileInterface
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $filename;
17
18
    /**
19
     * @var int
20
     */
21
    protected $additions;
22
23
    /**
24
     * @var int
25
     */
26
    protected $deletions;
27
28
    /**
29
     * @var int
30
     */
31
    protected $changes;
32
33
    /**
34
     * @var string
35
     */
36
    protected $status;
37
38
    /**
39
     * @var string
40
     */
41
    protected $raw_url;
42
43
    /**
44
     * @var string
45
     */
46
    protected $blob_url;
47
48
    /**
49
     * @var string
50
     */
51
    protected $patch;
52
53
    /**
54
     * @return string
55
     */
56
    public function filename(): string
57
    {
58
        return $this->filename;
59
    }
60
61
    /**
62
     * @return int
63
     */
64
    public function additions(): int
65
    {
66
        return $this->additions;
67
    }
68
69
    /**
70
     * @return int
71
     */
72
    public function deletions(): int
73
    {
74
        return $this->deletions;
75
    }
76
77
    /**
78
     * @return int
79
     */
80
    public function changes(): int
81
    {
82
        return $this->changes;
83
    }
84
85
    /**
86
     * @return string
87
     */
88
    public function status(): string
89
    {
90
        return $this->status;
91
    }
92
93
    /**
94
     * @return string
95
     */
96
    public function rawUrl(): string
97
    {
98
        return $this->raw_url;
99
    }
100
101
    /**
102
     * @return string
103
     */
104
    public function blobUrl(): string
105
    {
106
        return $this->blob_url;
107
    }
108
109
    /**
110
     * @return string
111
     */
112
    public function patch(): string
113
    {
114
        return $this->patch;
115
    }
116
}
117