<commit_before><?php
/**
 * prooph (http://getprooph.org/)
 *
 * @see       https://github.com/proophsoftware/prooph-bundle for the canonical source repository
 * @copyright Copyright (c) 2016 prooph software GmbH (http://prooph-software.com/)
 * @license   https://github.com/proophsoftware/prooph-bundle/blob/master/LICENSE.md New BSD License
 */
namespace Prooph\Bundle\DependencyInjection;

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

/**
 * Simple configuration for prooph components
 *
 * To learn more about the prooph component configuration see {@link http://getprooph.org/}
 */
class Configuration implements ConfigurationInterface
{
    /**
     * {@inheritdoc}
     */
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('prooph');<commit_msg>add Symfony dynamic array node definition<commit_after><?php
/**
 * prooph (http://getprooph.org/)
 *
 * @see       https://github.com/proophsoftware/prooph-bundle for the canonical source repository
 * @copyright Copyright (c) 2016 prooph software GmbH (http://prooph-software.com/)
 * @license   https://github.com/proophsoftware/prooph-bundle/blob/master/LICENSE.md New BSD License
 */
namespace Prooph\Bundle\DependencyInjection;

use Prooph\InteropBundle\Config\Definition\Builder\DynamicArrayNodeDefinition;
use Symfony\Component\Config\Definition\Builder\NodeBuilder;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

/**
 * Simple configuration for prooph components
 *
 * To learn more about the prooph component configuration see {@link http://getprooph.org/}
 */
class Configuration implements ConfigurationInterface
{
    /**
     * {@inheritdoc}
     */
    public function getConfigTreeBuilder()
    {
        $nodeBuilder = new NodeBuilder();
        $nodeBuilder->setNodeClass('dynamicArray', DynamicArrayNodeDefinition::class);
        $treeBuilder = new TreeBuilder();

        $rootNode = $treeBuilder->root('prooph', 'dynamicArray', $nodeBuilder);
{'fraction_non_alphanumeric': 0.11816496756255793, 'fraction_numerical': 0.0037071362372567192, 'mean_word_length': 4.291666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 4, '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': '1776334', 'n_tokens_mistral': 587, 'n_tokens_neox': 568, 'n_words': 131}