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 | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function process(ContainerBuilder $container): void |
||
| 15 | { |
||
| 16 | $definition = $container->findDefinition(ConfigProcessor::class); |
||
| 17 | |||
| 18 | $taggedServices = $container->findTaggedServiceIds('overblog_graphql.definition_config_processor'); |
||
| 19 | |||
| 20 | $arguments = []; |
||
| 21 | foreach ($taggedServices as $id => $tags) { |
||
| 22 | $arguments[] = new Reference($id); |
||
| 23 | } |
||
| 24 | |||
| 25 | $definition->setArgument('$processors', $arguments); |
||
| 26 | } |
||
| 28 |