<commit_before><?php

namespace Ant\Bundle\ChateaClientBundle\DependencyInjection;

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

/**
 * This is the class that validates and merges configuration from your app/config files
 *
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
 */
class Configuration implements ConfigurationInterface
{
    /**
     * {@inheritDoc}
     */
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('chatea_client');

        $rootNode
            ->children()
                ->arrayNode('api_manager')->addDefaultsIfNotSet()
                    ->children()
                        ->scalarNode("api_manager")->defaultValue("Ant\Bundle\ChateaAdminBundle\Api\Persistence\ApiManager")->end()
                    ->end()
                ->end()
                ->arrayNode('limits')->addDefaultsIfNotSet()
                    ->children()
                        ->integerNode('channel_manager')->min(1)->defaultValue(10)->end()
                        ->integerNode('user_manager')->min(1)->defaultValue(10)->end()
                    ->end()
                ->end()
                ->arrayNode('app_auth')
                    ->children()
                        ->scalarNode('client_id')->end()
                        ->scalarNode('secret')->end()
                    ->end()
                ->end()
            ->end();
        return $treeBuilder;<commit_msg>Added api_report config option<commit_after><?php

namespace Ant\Bundle\ChateaClientBundle\DependencyInjection;

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

/**
 * This is the class that validates and merges configuration from your app/config files
 *
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html#cookbook-bundles-extension-config-class}
 */
class Configuration implements ConfigurationInterface
{
    /**
     * {@inheritDoc}
     */
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('chatea_client');

        $rootNode
            ->children()
                ->arrayNode('api_manager')->addDefaultsIfNotSet()
                    ->children()
                        ->scalarNode("api_manager")->defaultValue("Ant\Bundle\ChateaAdminBundle\Api\Persistence\ApiManager")->end()
                    ->end()
                ->end()
                ->arrayNode('limits')->addDefaultsIfNotSet()
                    ->children()
                        ->integerNode('channel_manager')->min(1)->defaultValue(10)->end()
                        ->integerNode('user_manager')->min(1)->defaultValue(10)->end()
                        ->integerNode('report_manager')->min(1)->defaultValue(10)->end()
                    ->end()
                ->end()
                ->arrayNode('app_auth')
                    ->children()
                        ->scalarNode('client_id')->end()
                        ->scalarNode('secret')->end()
                    ->end()
                ->end()
            ->end();
        return $treeBuilder;
{'fraction_non_alphanumeric': 0.13971462544589774, 'fraction_numerical': 0.0044589774078478, 'mean_word_length': 1.9134199134199135, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 71, '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': '6328290', 'n_tokens_mistral': 855, 'n_tokens_neox': 809, 'n_words': 125}