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 ( 71a4f9...212da1 )
by Cees-Jan
06:21
created

Travis::fromResponse()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
namespace WyriHaximus\Travis;
4
5
use Psr\Http\Message\RequestInterface;
6
use Psr\Http\Message\ResponseInterface;
7
8
class Travis 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