<commit_before><?php
namespace Scheb\TwoFactorBundle\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('scheb_two_factor');

        $rootNode
            ->children()
                //->arrayNode("firewalls")->defaultValue(array())->prototype("scalar")->end()->end()
                ->arrayNode("email")
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->booleanNode("enabled")->defaultFalse()->end()
                        ->scalarNode("mailer")->defaultNull()->end()
                        ->scalarNode("sender_email")->defaultValue("no-<EMAIL>")->end()
                        ->scalarNode("template")->defaultValue("SchebTwoFactorBundle:Authentication:form.html.twig")->end()
                    ->end()
                ->end()
                ->arrayNode("google")
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->booleanNode("enabled")->defaultFalse()->end()
                        ->scalarNode("server_name")->defaultNull()->end()
                        ->scalarNode("template")->defaultValue("SchebTwoFactorBundle:Authentication:form.html.twig")->end()
                    ->end()<commit_msg>Removed old configuration option<commit_after><?php
namespace Scheb\TwoFactorBundle\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('scheb_two_factor');

        $rootNode
            ->children()
                ->arrayNode("email")
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->booleanNode("enabled")->defaultFalse()->end()
                        ->scalarNode("mailer")->defaultNull()->end()
                        ->scalarNode("sender_email")->defaultValue("<EMAIL>")->end()
                        ->scalarNode("template")->defaultValue("SchebTwoFactorBundle:Authentication:form.html.twig")->end()
                    ->end()
                ->end()
                ->arrayNode("google")
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->booleanNode("enabled")->defaultFalse()->end()
                        ->scalarNode("server_name")->defaultNull()->end()
                        ->scalarNode("template")->defaultValue("SchebTwoFactorBundle:Authentication:form.html.twig")->end()
                    ->end()
{'fraction_non_alphanumeric': 0.14783774723432785, 'fraction_numerical': 0.0, 'mean_word_length': 1.9515331355093966, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 74, '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': '3088505', 'n_tokens_mistral': 724, 'n_tokens_neox': 685, 'n_words': 79}