for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class TestKernel extends Kernel
{
public function registerBundles()
$bundles = array(
// Dependencies
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\DebugBundle\DebugBundle(),
new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(),
new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(),
new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(),
new Liip\FunctionalTestBundle\LiipFunctionalTestBundle(),
new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
// My Bundle to test
new Developtech\AgilityBundle\DeveloptechAgilityBundle(),
);
return $bundles;
}
public function registerContainerConfiguration(LoaderInterface $loader)
// We don't need that Environment stuff, just one config
$loader->load(__DIR__.'/config.yml');