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.
Passed
Push — master ( a5b504...99f733 )
by Dejan
02:54
created

UndefinedWebClientTest::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
namespace Fam\Util\UserAgentParser;
3
4
use PHPUnit\Framework\TestCase;
5
6
class UndefinedWebClientTest extends TestCase
7
{
8
    /**
9
     * @var UndefinedWebClient
10
     */
11
    private $subject;
12
13
    protected function setUp()
14
    {
15
        parent::setUp();
16
17
        $this->subject = new UndefinedWebClient();
18
    }
19
20
    /**
21
     * @test
22
     */
23
    public function match_WithInvalidValue()
0 ignored issues
show
Coding Style introduced by
Method name "UndefinedWebClientTest::match_WithInvalidValue" is not in camel caps format
Loading history...
24
    {
25
        $this->assertFalse($this->subject->match(
26
            "User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12"
27
        ));
28
    }
29
30
    /**
31
     * @test
32
     */
33
    public function getName_IsEqualsFirefox()
0 ignored issues
show
Coding Style introduced by
Method name "UndefinedWebClientTest::getName_IsEqualsFirefox" is not in camel caps format
Loading history...
34
    {
35
        $this->assertEquals("undefined", $this->subject->getName());
36
    }
37
}
38