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 ( a3053d...092899 )
by Rob
04:49
created

CurlTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 16
c 1
b 0
f 0
dl 0
loc 34
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 11 1
A testMissing() 0 3 1
1
<?php declare(strict_types = 1);
2
3
namespace RattfieldNz\SafeUrls\Libraries\Curl;
4
5
use Orchestra\Testbench\TestCase;;
6
7
class CurlTest extends TestCase
8
{
9
    /** @var Curl */
10
    private $curl;
11
12
    /** @var string */
13
    private $postUrl;
14
15
    /** @var array */
16
    private $headers;
17
18
    /** @var array */
19
    private $payload;
20
21
    /** @var int */
22
    private $timeout;
23
24
    protected function setUp(): void
25
    {
26
        $this->postUrl = '';
27
        $this->headers = [];
28
        $this->payload = [];
29
        $this->timeout = 10;
30
        $this->curl = new Curl(
31
            $this->postUrl,
32
            $this->headers,
33
            $this->payload,
34
            $this->timeout
35
        );
36
    }
37
38
    public function testMissing()
39
    {
40
        $this->fail('Test not yet implemented');
41
    }
42
}
43