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
Pull Request — master (#71)
by Martin
07:21
created

BrowscapFull   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 46
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 1
dl 0
loc 46
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace UserAgentParser\Provider;
3
4
use BrowscapPHP\Browscap;
5
class BrowscapFull extends AbstractBrowscap
6
{
7
    /**
8
     * Name of the provider
9
     *
10
     * @var string
11
     */
12
    protected $name = 'BrowscapFull';
13
14
    protected $detectionCapabilities = [
15
16
        'browser' => [
17
            'name'    => true,
18
            'version' => true,
19
        ],
20
21
        'renderingEngine' => [
22
            'name'    => true,
23
            'version' => true,
24
        ],
25
26
        'operatingSystem' => [
27
            'name'    => true,
28
            'version' => true,
29
        ],
30
31
        'device' => [
32
            'model'    => true,
33
            'brand'    => true,
34
            'type'     => true,
35
            'isMobile' => true,
36
            'isTouch'  => true,
37
        ],
38
39
        'bot' => [
40
            'isBot' => true,
41
            'name'  => true,
42
            'type'  => true,
43
        ],
44
    ];
45
    
46 2
    public function __construct(Browscap $parser)
47
    {
48 2
        parent::__construct($parser, 'FULL');
49 2
    }
50
}
51