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

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

    <parameters>
        <parameter key="fos_user.form.user.class">FOS\UserBundle\Form\UserForm</parameter>
        <parameter key="fos_user.form.user.name">fos_user_user_form</parameter>
        <parameter key="fos_user.form.user.validation_groups" type="collection">
            <parameter>Registration</parameter>
        </parameter>
        <parameter key="fos_user.form.change_password.class">FOS\UserBundle\Form\ChangePasswordForm</parameter>
        <parameter key="fos_user.form.change_password.name">fos_user_change_password_form</parameter>
        <parameter key="fos_user.form.reset_password.class">FOS\UserBundle\Form\ResetPasswordForm</parameter>
        <parameter key="fos_user.form.reset_password.name">fos_user_reset_password_form</parameter>
        <parameter key="fos_user.form.group.class">FOS\UserBundle\Form\GroupForm</parameter>
        <parameter key="fos_user.form.group.name">fos_user_group_form</parameter>
    </parameters>

    <services>

        <service id="fos_user.form.user" factory-method="create" class="%fos_user.form.user.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.user.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
            </argument>
        </service>

        <service id="fos_user.form.user_registration" factory-method="create" class="%fos_user.form.user.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.user.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
                <argument key="validation_groups">%fos_user.form.user.validation_groups%</argument>
            </argument>
        </service>

        <service id="fos_user.form.change_password" class="%fos_user.form.change_password.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.change_password.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
            </argument>
        </service>

        <service id="fos_user.form.reset_password" class="%fos_user.form.reset_password.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.reset_password.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
            </argument>
        </service>

        <service id="fos_user.form.group" class="%fos_user.form.group.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.group.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
            </argument>
        </service>

    </services>

</container>
<commit_msg>Added factory-class attribute to form.xml service definitions.<commit_after><?xml version="1.0" encoding="UTF-8" ?>

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

    <parameters>
        <parameter key="fos_user.form.user.class">FOS\UserBundle\Form\UserForm</parameter>
        <parameter key="fos_user.form.user.name">fos_user_user_form</parameter>
        <parameter key="fos_user.form.user.validation_groups" type="collection">
            <parameter>Registration</parameter>
        </parameter>
        <parameter key="fos_user.form.change_password.class">FOS\UserBundle\Form\ChangePasswordForm</parameter>
        <parameter key="fos_user.form.change_password.name">fos_user_change_password_form</parameter>
        <parameter key="fos_user.form.reset_password.class">FOS\UserBundle\Form\ResetPasswordForm</parameter>
        <parameter key="fos_user.form.reset_password.name">fos_user_reset_password_form</parameter>
        <parameter key="fos_user.form.group.class">FOS\UserBundle\Form\GroupForm</parameter>
        <parameter key="fos_user.form.group.name">fos_user_group_form</parameter>
    </parameters>

    <services>

        <service id="fos_user.form.user" factory-method="create" factory-class="%fos_user.form.user.class%" class="%fos_user.form.user.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.user.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
            </argument>
        </service>

        <service id="fos_user.form.user_registration" factory-method="create" factory-class="%fos_user.form.user.class%" class="%fos_user.form.user.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.user.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
                <argument key="validation_groups">%fos_user.form.user.validation_groups%</argument>
            </argument>
        </service>

        <service id="fos_user.form.change_password" class="%fos_user.form.change_password.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.change_password.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
            </argument>
        </service>

        <service id="fos_user.form.reset_password" class="%fos_user.form.reset_password.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.reset_password.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
            </argument>
        </service>

        <service id="fos_user.form.group" class="%fos_user.form.group.class%">
            <argument type="service" id="form.context" />
            <argument>%fos_user.form.group.name%</argument>
            <argument type="collection">
                <argument key="theme">%fos_user.template.theme%</argument>
            </argument>
        </service>

    </services>

</container>

{'fraction_non_alphanumeric': 0.15270646912131436, 'fraction_numerical': 0.0029338418659234267, 'mean_word_length': 3.077751196172249, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 2, '>': 151, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 7}, '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': '6478743', 'n_tokens_mistral': 2081, 'n_tokens_neox': 2050, 'n_words': 214}