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
/*
* This file is part of the OverblogGraphQLBundle package.
*
* (c) Overblog <http://github.com/overblog/>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Overblog\GraphQLBundle\Tests\DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
/**
* Class ResolverTestService.
class ResolverTestService implements ContainerAwareInterface
{
use ContainerAwareTrait;
public function __construct($service)
$service
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
}
public function doSomethingWithContainer()
return $this->container->get('injected_service')->doSomething();
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.