Passed
Pull Request — master (#26)
by Dominik
01:09
created

TestCase::setUp()   A

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
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
namespace ACFComposer\Tests;
4
5
use PHPUnit\Framework;
6
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
7
use Brain\Monkey;
8
9
class TestCase extends Framework\TestCase
10
{
11
    use MockeryPHPUnitIntegration;
12
13
    protected function setUp() : void
14
    {
15
        parent::setUp();
16
        Monkey\setUp();
0 ignored issues
show
Bug introduced by
The function setUp was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

16
        /** @scrutinizer ignore-call */ 
17
        Monkey\setUp();
Loading history...
17
    }
18
19
    protected function tearDown() : void
20
    {
21
        Monkey\tearDown();
0 ignored issues
show
Bug introduced by
The function tearDown was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

21
        /** @scrutinizer ignore-call */ 
22
        Monkey\tearDown();
Loading history...
22
        parent::tearDown();
23
    }
24
}
25