<commit_before><?php

include __DIR__ . "/AppKernel.php";

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

class RedKiteCmsAppKernel extends AppKernel
{
    public function registerBundles()
    {
        $bundles = parent::registerBundles();
        $bundles[] = new RedKiteLabs\RedKiteCms\BootstrapBundle\RedKiteLabsBootstrapBundle();

        $searchFolders = $this->searchFolders = array(
            __DIR__ . '/../src/RedKiteCms/Block',
            __DIR__ . '/../src/RedKiteCms/Theme',
            __DIR__ . '/../src/RedKiteLabs/RedKiteCms',
        );
        $bootstrapper = new \RedKiteLabs\RedKiteCms\BootstrapBundle\Core\Autoloader\BundlesAutoloader(__DIR__, $this->getEnvironment(), $bundles, $searchFolders);
        $bundles = $bootstrapper->getBundles();

        return $bundles;
    }

    public function registerContainerConfiguration(LoaderInterface $loader)
    {
        $configFolder = __DIR__ . '/config/bundles/config/' . $this->getEnvironment();
        if (is_dir($configFolder)) {
            $finder = new \Symfony\Component\Finder\Finder();
            $configFiles = $finder->depth(0)->name('*.yml')->in($configFolder);
            foreach ($configFiles as $config) {
                $loader->load((string)$config);
            };
        };

        $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
    }
}<commit_msg>updated RedKiteCmsAppKernel<commit_after><?php

include __DIR__ . "/AppKernel.php";

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

class RedKiteCmsAppKernel extends AppKernel
{
    public function registerBundles()
    {
        $bundles = parent::registerBundles();
        $bundles[] = new RedKiteLabs\RedKiteCms\BootstrapBundle\RedKiteLabsBootstrapBundle();

        $searchFolders = $this->searchFolders = array(
            __DIR__ . '/../src/RedKiteLabs',
            __DIR__ . '/../src/RedKiteLabs/RedKiteCms',
        );
        $bootstrapper = new \RedKiteLabs\RedKiteCms\BootstrapBundle\Core\Autoloader\BundlesAutoloader(__DIR__, $this->getEnvironment(), $bundles, $searchFolders);
        $bundles = $bootstrapper->getBundles();

        return $bundles;
    }

    public function registerContainerConfiguration(LoaderInterface $loader)
    {
        $configFolder = __DIR__ . '/config/bundles/config/' . $this->getEnvironment();
        if (is_dir($configFolder)) {
            $finder = new \Symfony\Component\Finder\Finder();
            $configFiles = $finder->depth(0)->name('*.yml')->in($configFolder);
            foreach ($configFiles as $config) {
                $loader->load((string)$config);
            };
        };

        $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
    }
}
{'fraction_non_alphanumeric': 0.14520156974669995, 'fraction_numerical': 0.0007135212272565109, 'mean_word_length': 2.8890429958391124, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '5740152', 'n_tokens_mistral': 866, 'n_tokens_neox': 862, 'n_words': 119}