Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | 6 | protected function initialisePHPUnitTestDoubles(): void |
|
21 | { |
||
22 | 6 | $doubler = new Doubler( |
|
23 | 6 | new ReflectionExtractor([TestCase::class, Assert::class]), |
|
24 | 6 | new PropertyAccessInjector(), |
|
25 | 6 | function (array $types) { |
|
26 | return $this->createTestDoubleWithPhpunit($types); |
||
27 | 6 | }, |
|
28 | 6 | MockObject::class |
|
29 | 6 | ); |
|
30 | 6 | $doubler->createDoubles($this); |
|
31 | } |
||
46 |