<commit_before><?php

namespace AshleyDawson\SimplePaginationBundle\DependencyInjection;

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

/**
 * Class Configuration
 *
 * @package AshleyDawson\SimplePaginationBundle\DependencyInjection
 * @author <NAME> <<EMAIL>>
 */
class Configuration implements ConfigurationInterface
{
    /**
     * {@inheritdoc}
     */
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('ashley_dawson_simple_pagination');

        $rootNode
            ->children()
                ->arrayNode('defaults')
                ->addDefaultsIfNotSet()
                ->children()
                    ->integerNode('items_per_page')->defaultValue(10)->cannotBeEmpty()->end()
                    ->integerNode('pages_in_range')->defaultValue(5)->cannotBeEmpty()->end()
                    ->scalarNode('template')->defaultValue('AshleyDawsonSimplePaginationBundle:Pagination:default.html.twig')->end()
                ->end()
            ->end()
        ;

        return $treeBuilder;
    }
}<commit_msg>Bug fix of configuration error in Symfony 3<commit_after><?php

namespace AshleyDawson\SimplePaginationBundle\DependencyInjection;

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

/**
 * Class Configuration
 *
 * @package AshleyDawson\SimplePaginationBundle\DependencyInjection
 * @author <NAME> <<EMAIL>>
 */
class Configuration implements ConfigurationInterface
{
    /**
     * {@inheritdoc}
     */
    public function getConfigTreeBuilder()
    {
        $treeBuilder = new TreeBuilder();
        $rootNode = $treeBuilder->root('ashley_dawson_simple_pagination');

        $rootNode
            ->children()
                ->arrayNode('defaults')
                ->addDefaultsIfNotSet()
                ->children()
                    ->integerNode('items_per_page')->defaultValue(10)->min(1)->isRequired()->end()
                    ->integerNode('pages_in_range')->defaultValue(5)->min(1)->isRequired()->end()
                    ->scalarNode('template')->defaultValue('AshleyDawsonSimplePaginationBundle:Pagination:default.html.twig')->end()
                ->end()
            ->end()
        ;

        return $treeBuilder;
    }
}

{'fraction_non_alphanumeric': 0.1315022888056596, 'fraction_numerical': 0.003745318352059925, 'mean_word_length': 2.7503900156006242, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 47, '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': '4107387', 'n_tokens_mistral': 646, 'n_tokens_neox': 616, 'n_words': 85}