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
Pull Request — master (#8)
by Cees-Jan
03:56
created

EmptyCombinedStatus   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 42
ccs 10
cts 10
cp 1
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A state() 0 4 1
A sha() 0 4 1
A totalCount() 0 4 1
A statuses() 0 4 1
A repository() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource\Repository\Commit;
4
5
use ApiClients\Foundation\Resource\EmptyResourceInterface;
6
7
abstract class EmptyCombinedStatus implements CombinedStatusInterface, EmptyResourceInterface
8
{
9
    /**
10
     * @return string
11
     */
12 2
    public function state() : string
13
    {
14 2
        return null;
15
    }
16
17
    /**
18
     * @return string
19
     */
20 2
    public function sha() : string
21
    {
22 2
        return null;
23
    }
24
25
    /**
26
     * @return int
27
     */
28 2
    public function totalCount() : int
29
    {
30 2
        return null;
31
    }
32
33
    /**
34
     * @return Repository\Commit\Status
35
     */
36 2
    public function statuses() : Repository\Commit\Status
37
    {
38 2
        return null;
39
    }
40
41
    /**
42
     * @return Repository
43
     */
44 2
    public function repository() : Repository
45
    {
46 2
        return null;
47
    }
48
}
49