for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Skrz\Bundle\AutowiringBundle\Tests\DependencyInjection\Compiler\AutowiringCompilerPassSource;
use Skrz\Bundle\AutowiringBundle\Annotation\Autowired;
use Skrz\Bundle\AutowiringBundle\Tests\DependencyInjection\Compiler\AutowiringCompilerPassSource\Foo\Bar;
trait AutowiredMethodTrait
{
/**
* @param Bar $bar
*
* @Autowired
*/
public function setBar($bar)
$bar
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.