TestCase::setUp()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
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