Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | private function createTestDirectory(): void |
||
12 | { |
||
13 | $dateTimeFolderName = date('Ymd_His'); |
||
14 | $random = random_int(10000, 99999); |
||
15 | $testDirectory = __DIR__."/../scratchpad/{$dateTimeFolderName}{$random}"; |
||
16 | $this->fileSystem->mkdir($testDirectory); |
||
17 | $cwd = getcwd(); |
||
18 | $this->assertNotFalse($cwd); |
||
|
|||
19 | $this->projectRoot = ProjectRoot::fromProjectRoot($testDirectory, $cwd); |
||
20 | } |
||
27 |