Passed
Push — master ( 1b6475...610123 )
by Petr
10:18
created

AFormats   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 12
rs 10
wmc 2
1
<?php
2
3
namespace InfoFormatTests;
4
5
6
use CommonTestClass;
7
use kalanis\UploadPerPartes\Exceptions\UploadException;
8
use kalanis\UploadPerPartes\InfoStorage;
9
use kalanis\UploadPerPartes\Uploader\Translations;
10
11
12
abstract class AFormats extends CommonTestClass
13
{
14
    /**
15
     * @throws UploadException
16
     */
17
    public function tearDown(): void
18
    {
19
        if (is_file($this->mockTestFile())) {
20
            $lib = new InfoStorage\Volume(new Translations());
21
            $lib->remove($this->mockTestFile());
22
        }
23
        parent::tearDown();
24
    }
25
}
26