Passed
Branch feature/tests (366918)
by Michał
05:45
created

NativeParserTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 9 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Dziki\MonologSentryBundle\Tests\Unit\UserAgent;
6
7
use Dziki\MonologSentryBundle\UserAgent\NativeParser;
8
9
class NativeParserTest extends AbstractParserTest
10
{
11
    public function setUp()
12
    {
13
        if (!ini_get('browscap')) {
14
            $this->markTestSkipped(
15
                'The browscap.ini directive not set, skipped.'
16
            );
17
        }
18
19
        $this->setParser(new NativeParser());
20
    }
21
}