Conditions | 3 |
Paths | 2 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
27 | 20 | public function process(ContainerBuilder $container) |
|
28 | { |
||
29 | 20 | if (!$container->hasDefinition('sensio_framework_extra.security.listener') || |
|
30 | 11 | !$container->hasDefinition('sensio_framework_extra.security.expression_language.default')) { |
|
31 | 9 | $container->removeDefinition(SensioSecurityExpressionVoter::class); |
|
32 | } |
||
35 |