TestCase   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of graze/dog-statsd
5
 *
6
 * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 *
11
 * @license https://github.com/graze/dog-statsd/blob/master/LICENSE.md
12
 * @link    https://github.com/graze/dog-statsd
13
 */
14
15
namespace Graze\DogStatsD\Test;
16
17
use Graze\DogStatsD\Client;
18
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
19
20
class TestCase extends PHPUnitTestCase
21
{
22
    /**
23
     * @var Client
24
     */
25
    protected $client;
26
27
    public function setUp(): void
28
    {
29
        $this->client = new Client();
30
        $this->client->configure();
31
    }
32
}
33