| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 6 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | abstract class UnitTestCase extends BaseTestCase |
||
| 13 | { |
||
| 14 | protected static bool $hasSetUpKernel = false; |
||
| 15 | |||
| 16 | protected static function needsKernel(): void |
||
| 17 | { |
||
| 18 | if (! self::$hasSetUpKernel) { |
||
| 19 | self::setupKernel(); |
||
| 20 | } |
||
| 21 | } |
||
| 22 | |||
| 23 | protected static function setupKernel(): void |
||
| 27 | } |
||
| 28 | |||
| 29 | protected static function mockConfig(array $items = []): void |
||
| 34 | } |
||
| 35 | } |
||
| 36 |