Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | abstract class MakerTestCase extends KernelTestCase |
||
12 | { |
||
13 | /** |
||
14 | * @before |
||
15 | */ |
||
16 | public function skipIfNotUsingFoundryBundle(): void |
||
20 | } |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @before |
||
25 | */ |
||
26 | public static function cleanupTmpDir(): void |
||
27 | { |
||
28 | (new Filesystem())->remove(self::tempDir()); |
||
29 | } |
||
30 | |||
31 | protected static function tempDir(): string |
||
32 | { |
||
33 | return __DIR__.'/../../../Fixtures/tmp'; |
||
34 | } |
||
35 | |||
36 | protected static function tempFile(string $path): string |
||
39 | } |
||
40 | } |
||
41 |