<commit_before><?php

namespace Limenius\ReactBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

class Configuration implements ConfigurationInterface
{
    /**
     * {@inheritdoc}
     */
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('limenius_react');

        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('limenius_filesystem_router');
        $rootNode
            ->children()
                ->enumNode('default_rendering')
                    ->values(array('server_side', 'client_side', 'both'))
                    ->defaultValue('both')
                ->end()
                ->arrayNode('serverside_rendering')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->booleanNode('fail_loud')
                            ->defaultFalse()
                        ->end()
                        ->booleanNode('trace')
                            ->defaultFalse()
                        ->end()
                        ->enumNode('mode')
                            ->values(array('phpexecjs', 'external_server'))
                            ->defaultValue('phpexecjs')
                        ->end()
                        ->scalarNode('server_bundle_path')
                            ->defaultNull()
                        ->end()
                        ->scalarNode('server_socket_path')
                            ->defaultNull()
                        ->end()
                    ->end()
                ->end()
            ->end();
        return $treeBuilder;
    }<commit_msg>Removed wrong definition<commit_after><?php

namespace Limenius\ReactBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

class Configuration implements ConfigurationInterface
{
    /**
     * {@inheritdoc}
     */
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('limenius_react');
        $rootNode
            ->children()
                ->enumNode('default_rendering')
                    ->values(array('server_side', 'client_side', 'both'))
                    ->defaultValue('both')
                ->end()
                ->arrayNode('serverside_rendering')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->booleanNode('fail_loud')
                            ->defaultFalse()
                        ->end()
                        ->booleanNode('trace')
                            ->defaultFalse()
                        ->end()
                        ->enumNode('mode')
                            ->values(array('phpexecjs', 'external_server'))
                            ->defaultValue('phpexecjs')
                        ->end()
                        ->scalarNode('server_bundle_path')
                            ->defaultNull()
                        ->end()
                        ->scalarNode('server_socket_path')
                            ->defaultNull()
                        ->end()
                    ->end()
                ->end()
            ->end();
        return $treeBuilder;
    }
{'fraction_non_alphanumeric': 0.11814469078179697, 'fraction_numerical': 0.0, 'mean_word_length': 1.2208549222797926, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 60, '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': '3207417', 'n_tokens_mistral': 788, 'n_tokens_neox': 747, 'n_words': 113}