<commit_before><?xml version="1.0" encoding="UTF-8"?>

<!--
This file is part of the NIM package.

(c) <NAME>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
-->

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services
                               http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="nim.twig.extension.translation.class">NIM\Component\Twig\NimTranslationExtension</parameter>
        <parameter key="nim.twig.extension.country.class">NIM\Component\Twig\NimCountryExtension</parameter>
    </parameters>

    <services>
        <service id="nim.twig.extension.translation" class="%nim.twig.extension.translation.class%">
            <argument type="service" id="service_container" />
            <argument type="service" id="doctrine" />
            <argument type="service" id="stof_doctrine_extensions.listener.translatable" />
            <argument>NIMWebBundle:I18n:show.html.twig</argument>
            <tag name="twig.extension" />
        </service>

        <service id="nim.twig.extension.country" class="%nim.twig.extension.country.class%">
            <tag name="twig.extension" />
        </service>

        <service id="twig.extension.intl" class="Twig_Extensions_Extension_Intl">
            <tag name="twig.extension" />
        </service>
    </services>
</container><commit_msg>Datepicker and Select2 form extension are enabled (on date and choice form type)<commit_after><?xml version="1.0" encoding="UTF-8"?>

<!--
This file is part of the NIM package.

(c) <NAME>

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
-->

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services
                               http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="nim.twig.extension.translation.class">NIM\Component\Twig\NimTranslationExtension</parameter>
        <parameter key="nim.twig.extension.country.class">NIM\Component\Twig\NimCountryExtension</parameter>
        <parameter key="nim.form.extension.select2.class">NIM\FormBundle\Form\Extension\Select2Extension</parameter>
        <parameter key="nim.form.extension.datepicker.class">NIM\FormBundle\Form\Extension\EternicodeDatepickerExtension</parameter>
    </parameters>

    <services>
        <service id="nim.twig.extension.translation" class="%nim.twig.extension.translation.class%">
            <argument type="service" id="service_container" />
            <argument type="service" id="doctrine" />
            <argument type="service" id="stof_doctrine_extensions.listener.translatable" />
            <argument>NIMWebBundle:I18n:show.html.twig</argument>
            <tag name="twig.extension" />
        </service>

        <service id="nim.twig.extension.country" class="%nim.twig.extension.country.class%">
            <tag name="twig.extension" />
        </service>

        <service id="twig.extension.intl" class="Twig_Extensions_Extension_Intl">
            <tag name="twig.extension" />
        </service>

        <!-- Select2 extension -->
        <service id="nim.form.extension.select2"
                 class="%nim.form.extension.select2.class%">
            <tag name="form.type_extension" alias="choice" />
        </service>

        <!-- Eternicode datepicker extension -->
        <service id="nim.form.extension.datepicker"
                 class="%nim.form.extension.datepicker.class%">
            <tag name="form.type_extension" alias="date" />
        </service>
    </services>
</container>
{'fraction_non_alphanumeric': 0.1443456162642948, 'fraction_numerical': 0.007623888182973317, 'mean_word_length': 2.92814371257485, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 2, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '2825656', 'n_tokens_mistral': 1156, 'n_tokens_neox': 1147, 'n_words': 182}