for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Behat\Sf2DemoBundle\Features\Context;
use Behat\MinkExtension\Context\MinkContext;
use Behat\Symfony2Extension\Context\KernelAwareContext;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpKernel\KernelInterface;
class WebContext extends MinkContext implements KernelAwareContext
{
private $kernel;
public function __construct(Session $session, $simpleParameter, $simpleArg, array $services, array $params, $nestedParam, $collectionParam)
$session
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$simpleParameter
$simpleArg
$services
$params
$nestedParam
$collectionParam
}
/**
* Sets HttpKernel instance.
* This method will be automatically called by Symfony2Extension ContextInitializer.
*
* @param KernelInterface $kernel
*/
public function setKernel(KernelInterface $kernel)
$this->kernel = $kernel;
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.