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 ( 1089d8...8c3375 )
by Cees-Jan
06:43 queued 04:58
created

ApiClient::getRequest()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2
Metric Value
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
cc 1
eloc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace WyriHaximus\Travis;
4
5
use Psr\Http\Message\RequestInterface;
6
use Psr\Http\Message\ResponseInterface;
7
8
class ApiClient implements EndpointInterface
9
{
10
    use ClientAwareTrait;
11
12
    /**
13
     * @param Client $client
14
     */
15
    public function __construct(Client $client)
16
    {
17
        $this->setClient($client);
18
    }
19
20
    public function repository(string $repository): Repository
21
    {
22
        return new Repository($this, $repository);
23
    }
24
25
    public function getRequest(): RequestInterface
26
    {
27
        // TODO: Implement getRequest() method.
28
    }
29
30
    public function fromResponse(ResponseInterface $response): EndpointInterface
31
    {
32
        // TODO: Implement fromResponse() method.
33
    }
34
}
35