| Total Complexity | 3 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class CommonTestClass extends TestCase |
||
| 11 | { |
||
| 12 | protected function tearDown(): void |
||
| 13 | { |
||
| 14 | $ptXM = $this->getTargetPath() . 'copy.meta'; |
||
| 15 | if (is_file($ptXM)) { |
||
| 16 | @unlink($ptXM); |
||
| 17 | } |
||
| 18 | } |
||
| 19 | |||
| 20 | protected function getTargetPath(): string |
||
| 21 | { |
||
| 22 | return __DIR__ . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . 'target' . DIRECTORY_SEPARATOR; |
||
| 23 | } |
||
| 54 |