We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
14 | 23 | public function process(ContainerBuilder $container) |
|
15 | { |
||
16 | 23 | $definition = $container->findDefinition('overblog_graphql.expression_language'); |
|
17 | 23 | $taggedServices = $container->findTaggedServiceIds('overblog_graphql.expression_function'); |
|
18 | |||
19 | 23 | foreach ($taggedServices as $id => $tags) { |
|
20 | 23 | $definition->addMethodCall('addFunction', [new Reference($id)]); |
|
21 | } |
||
22 | 23 | } |
|
23 | } |
||
24 |