| Conditions | 3 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 26 | 7 | public function process(ContainerBuilder $container) |
|
| 27 | { |
||
| 28 | 7 | if ($container->has('fos_rest.converter.request_body') && !$container->has('sensio_framework_extra.converter.listener')) { |
|
| 29 | 1 | throw new \RuntimeException('You need to enable the parameter converter listeners in SensioFrameworkExtraBundle when using the FOSRestBundle RequestBodyParamConverter'); |
|
| 30 | } |
||
| 31 | 6 | } |
|
| 32 | } |
||
| 33 |