Passed
Push — master ( 4ea08d...5059e4 )
by Darío
51s queued 12s
created

TestCase::setUp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php
2
3
namespace EasyHttp\LayerContracts\Tests;
4
5
use Faker\Factory;
6
use Faker\Generator;
7
8
abstract class TestCase extends \PHPUnit\Framework\TestCase
9
{
10
    protected Generator $faker;
11
12
    public function setUp(): void
13
    {
14
        $this->faker = Factory::create();
15
16
        parent::setUp();
17
    }
18
}
19