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

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 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