| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | 2 | public function prepend(ContainerBuilder $container) |
|
| 21 | { |
||
| 22 | 2 | if (false === $container->hasExtension('doctrine')) { |
|
| 23 | 1 | return false; |
|
| 24 | } |
||
| 25 | |||
| 26 | $container |
||
| 27 | 1 | ->loadFromExtension( |
|
| 28 | 1 | 'doctrine', |
|
| 29 | [ |
||
| 30 | 'dbal' => [ |
||
| 31 | 1 | 'driver_class' => Driver::class, |
|
| 32 | 'types' => [ |
||
| 33 | 'cursor' => CursorType::class, |
||
| 34 | ], |
||
| 40 |