TestCase   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 12
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A tearDown() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the overtrue/laravel-custom-log.
5
 *
6
 * (c) overtrue <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Overtrue\LaravelCustomLog\Tests;
13
14
use Mockery;
15
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
16
17
class TestCase extends PHPUnitTestCase
18
{
19
    public function setUp()
20
    {
21
        Mockery::globalHelpers();
22
    }
23
24
    public function tearDown()
25
    {
26
        Mockery::close();
27
    }
28
}
29