for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Incenteev\TranslationCheckerBundle\Tests\FixtureApp;
use Incenteev\TranslationCheckerBundle\IncenteevTranslationCheckerBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Kernel;
class TestKernel extends Kernel
{
public function registerBundles()
return array(
new FrameworkBundle(),
new IncenteevTranslationCheckerBundle(),
);
}
public function registerContainerConfiguration(LoaderInterface $loader)
$loader->load(function (ContainerBuilder $container) {
$container->loadFromExtension('framework', array(
'translator' => array('fallback' => 'en'),
'secret' => 'test',
));
});
public function getCacheDir()
return sys_get_temp_dir().'/incenteev_translation_checker';
public function getLogDir()
return $this->getCacheDir();