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 DependencyInjection\Compiler;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
/**
* Class ResolverTestService
* @package DependencyInjection\Compiler
*/
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.