<commit_before><?php

use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
            new Symfony\Bundle\SecurityBundle\SecurityBundle(),
            new Symfony\Bundle\TwigBundle\TwigBundle(),
            new Symfony\Bundle\MonologBundle\MonologBundle(),
            new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
            new Symfony\Bundle\AsseticBundle\AsseticBundle(),
            new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
            new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
            new JMS\AopBundle\JMSAopBundle(),
            new JMS\DiExtraBundle\JMSDiExtraBundle($this),
            new JMS\SecurityExtraBundle\JMSSecurityExtraBundle(),
            new HarvestCloud\CoreBundle\HarvestCloudCoreBundle(),
            new FOS\UserBundle\FOSUserBundle(),
            new HarvestCloud\GeoBundle\HarvestCloudGeoBundle(),
            new HarvestCloud\MarketPlace\SellerBundle\HarvestCloudMarketPlaceSellerBundle(),
            new HarvestCloud\MarketPlace\BuyerBundle\HarvestCloudMarketPlaceBuyerBundle(),
            new HarvestCloud\MarketPlace\HubBundle\HarvestCloudMarketPlaceHubBundle(),
            new HarvestCloud\MarketPlace\CoreBundle\HarvestCloudMarketPlaceCoreBundle(),
            new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
            new HarvestCloud\DoubleEntryBundle\HarvestCloudDoubleEntryBundle(),
            new HarvestCloud\PaymentBundle\HarvestCloudPaymentBundle(),
            new HarvestCloud\EmailBundle\HarvestCloudEmailBundle(),
            new HarvestCloud\InvoiceBundle\HarvestCloudInvoiceBundle(),
            new HarvestCloud\UserBundle\HarvestCloudUserBundle(),
            new HarvestCloud\NotifierBundle\HarvestCloudNotifierBundle(),
            new HarvestCloud\MarketPlace\ProfileBundle\HarvestCloudMarketPlaceProfileBundle(),
            new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
            new HarvestCloud\StripeBundle\HarvestCloudStripeBundle(),
        );

        if (in_array($this->getEnvironment(), array('dev', 'test'))) {
            $bundles[] = new Acme\DemoBundle\AcmeDemoBundle();
            $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
            $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
            $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
        }

        return $bundles;
    }

    public function registerContainerConfiguration(LoaderInterface $loader)
    {
        $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');<commit_msg>Removing PaymentBundle and InvoiceBundle from AppKernel<commit_after><?php

use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
            new Symfony\Bundle\SecurityBundle\SecurityBundle(),
            new Symfony\Bundle\TwigBundle\TwigBundle(),
            new Symfony\Bundle\MonologBundle\MonologBundle(),
            new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
            new Symfony\Bundle\AsseticBundle\AsseticBundle(),
            new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
            new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
            new JMS\AopBundle\JMSAopBundle(),
            new JMS\DiExtraBundle\JMSDiExtraBundle($this),
            new JMS\SecurityExtraBundle\JMSSecurityExtraBundle(),
            new HarvestCloud\CoreBundle\HarvestCloudCoreBundle(),
            new FOS\UserBundle\FOSUserBundle(),
            new HarvestCloud\GeoBundle\HarvestCloudGeoBundle(),
            new HarvestCloud\MarketPlace\SellerBundle\HarvestCloudMarketPlaceSellerBundle(),
            new HarvestCloud\MarketPlace\BuyerBundle\HarvestCloudMarketPlaceBuyerBundle(),
            new HarvestCloud\MarketPlace\HubBundle\HarvestCloudMarketPlaceHubBundle(),
            new HarvestCloud\MarketPlace\CoreBundle\HarvestCloudMarketPlaceCoreBundle(),
            new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
            new HarvestCloud\DoubleEntryBundle\HarvestCloudDoubleEntryBundle(),
            new HarvestCloud\EmailBundle\HarvestCloudEmailBundle(),
            new HarvestCloud\UserBundle\HarvestCloudUserBundle(),
            new HarvestCloud\NotifierBundle\HarvestCloudNotifierBundle(),
            new HarvestCloud\MarketPlace\ProfileBundle\HarvestCloudMarketPlaceProfileBundle(),
            new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
            new HarvestCloud\StripeBundle\HarvestCloudStripeBundle(),
        );

        if (in_array($this->getEnvironment(), array('dev', 'test'))) {
            $bundles[] = new Acme\DemoBundle\AcmeDemoBundle();
            $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
            $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
            $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
        }

        return $bundles;
    }

    public function registerContainerConfiguration(LoaderInterface $loader)
    {
        $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
{'fraction_non_alphanumeric': 0.09343434343434344, 'fraction_numerical': 0.0, 'mean_word_length': 3.298449612403101, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2800319', 'n_tokens_mistral': 1481, 'n_tokens_neox': 1437, 'n_words': 186}