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 ( 2fbd8f...888fc3 )
by Cees-Jan
59:20 queued 49:06
created

CombinedStatus::url()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 1
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource\Repository\Commit;
4
5
use ApiClients\Foundation\Hydrator\Annotation\Collection;
6
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
7
use ApiClients\Foundation\Hydrator\Annotation\Nested;
8
use ApiClients\Foundation\Resource\AbstractResource;
9
10
/**
11
 * @Collection(
12
 *     statuses="Repository\Commit\Status"
13
 * )
14
 * @Nested(
15
 *     repository="Repository"
16
 * )
17
 * @EmptyResource("Repository\Commit\EmptyCombinedStatus")
18
 */
19
abstract class CombinedStatus extends AbstractResource implements CombinedStatusInterface
20
{
21
    /**
22
     * @var string
23
     */
24
    protected $state;
25
26
    /**
27
     * @var string
28
     */
29
    protected $sha;
30
31
    /**
32
     * @var string
33
     */
34
    protected $url;
35
36
    /**
37
     * @var int
38
     */
39
    protected $total_count;
40
41
    /**
42
     * @var Repository\Commit\Status
43
     */
44
    protected $statuses;
45
46
    /**
47
     * @var Repository
48
     */
49 4
    protected $repository;
50
51 4
    /**
52
     * @return string
53
     */
54
    public function state(): string
55
    {
56
        return $this->state;
57 4
    }
58
59 4
    /**
60
     * @return string
61
     */
62
    public function sha(): string
63
    {
64
        return $this->sha;
65 4
    }
66
67 4
    /**
68
     * @return string
69
     */
70
    public function url(): string
71
    {
72
        return $this->url;
73
    }
74
75
    /**
76
     * @return int
77
     */
78
    public function totalCount(): int
79
    {
80
        return $this->total_count;
81
    }
82
83
    /**
84
     * @return Repository\Commit\Status
85
     */
86
    public function statuses(): Repository\Commit\Status
87
    {
88
        return $this->statuses;
89
    }
90
91
    /**
92
     * @return Repository
93
     */
94
    public function repository(): Repository
95
    {
96
        return $this->repository;
97
    }
98
}
99