| 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 declare(strict_types=1); |
||
| 18 | 12 | protected function initialiseProphecyTestDoubles(): void |
|
| 19 | { |
||
| 20 | 12 | $doubler = new Doubler( |
|
| 21 | 12 | new ReflectionExtractor([TestCase::class, Assert::class]), |
|
| 22 | 12 | new PropertyAccessInjector(), |
|
| 23 | 12 | function (array $types) { |
|
| 24 | return $this->createTestDoubleWithProphecy($types); |
||
| 25 | 12 | }, |
|
| 26 | 12 | ObjectProphecy::class |
|
| 27 | 12 | ); |
|
| 28 | 12 | $doubler->createDoubles($this); |
|
| 29 | } |
||
| 46 |