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::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 9
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 11
rs 9.9666
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