for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php
namespace Overblog\GraphQLBundle\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;
final class ExpressionFunctionPass implements CompilerPassInterface
{
/**
* {@inheritdoc}
*/
public function process(ContainerBuilder $container)
$definition = $container->findDefinition('overblog_graphql.expression_language');
$taggedServices = $container->findTaggedServiceIds('overblog_graphql.expression_function');
foreach ($taggedServices as $id => $tags) {
$definition->addMethodCall('addFunction', [new Reference($id)]);
}