<commit_before>parameters:
    oro_translation.form.type.translatable_entity.class:     Oro\Bundle\TranslationBundle\Form\Type\TranslatableEntityType
    oro_translation.form.extension.translatable_choice.class: Oro\Bundle\TranslationBundle\Form\Extension\TranslatableChoiceTypeExtension

services:
    oro_translation.form.type.translatable_entity:
        class: '%oro_translation.form.type.translatable_entity.class%'
        arguments: ["@doctrine"]
        tags:
            - { name: form.type, alias: translatable_entity }

    oro_translation.form.type.select2_translatable_entity:
        class: Oro\Bundle\TranslationBundle\Form\Type\Select2TranslatableEntityType
        tags:
            - { name: form.type, alias: oro_select2_translatable_entity }

    oro_translation.form.extension.translatable_choice:
        class: '%oro_translation.form.extension.translatable_choice.class%'
        tags:
            - { name: form.type_extension, extended_type: Symfony\Component\Form\Extension\Core\Type\ChoiceType, alias: choice }

    oro_translation.form.type.add_language:
        class: 'Oro\Bundle\TranslationBundle\Form\Type\AddLanguageType'
        arguments:
            - '@oro_translation.repository.language'
            - '@oro_locale.settings'
            - '@oro_translation.statistic_provider'
            - '@translator'
        tags:
            - { name: form.type, alias: oro_translation_add_language }

    oro_translation.form.type.filter.language:
        class: 'Oro\Bundle\TranslationBundle\Form\Type\Filter\LanguageFilterType'
        arguments: 
            - '@oro_locale.formatter.language_code'
        tags:
            - { name: form.type, alias: oro_translation_filter_language }

    oro_translation.form.type.gedmo_translations:
        class: 'Oro\Bundle\TranslationBundle\Form\Type\GedmoTranslationsType'
        arguments:
            - '@oro_translation.form.gedmo_translation_form'
            - '%oro_translation.locales%'
            - '%oro_translation.default_required%'

    oro_translation.form.gedmo_translation_form:
        class: 'Oro\Bundle\TranslationBundle\Form\TranslationForm\GedmoTranslationForm'
        arguments:
            - '@form.registry'
            - '@doctrine'
        calls:
            - [setGedmoTranslatableListener, ['@stof_doctrine_extensions.listener.translatable']]
<commit_msg>BAP-16908: Fix a2lix/TranslationFormBundle symfony 3 compatibility issues  - moved logic from a2lix repository to our namespace<commit_after>parameters:
    oro_translation.form.type.translatable_entity.class:     Oro\Bundle\TranslationBundle\Form\Type\TranslatableEntityType
    oro_translation.form.extension.translatable_choice.class: Oro\Bundle\TranslationBundle\Form\Extension\TranslatableChoiceTypeExtension

services:
    oro_translation.form.type.translatable_entity:
        class: '%oro_translation.form.type.translatable_entity.class%'
        arguments: ["@doctrine"]
        tags:
            - { name: form.type, alias: translatable_entity }

    oro_translation.form.type.select2_translatable_entity:
        class: Oro\Bundle\TranslationBundle\Form\Type\Select2TranslatableEntityType
        tags:
            - { name: form.type, alias: oro_select2_translatable_entity }

    oro_translation.form.extension.translatable_choice:
        class: '%oro_translation.form.extension.translatable_choice.class%'
        tags:
            - { name: form.type_extension, extended_type: Symfony\Component\Form\Extension\Core\Type\ChoiceType, alias: choice }

    oro_translation.form.type.add_language:
        class: 'Oro\Bundle\TranslationBundle\Form\Type\AddLanguageType'
        arguments:
            - '@oro_translation.repository.language'
            - '@oro_locale.settings'
            - '@oro_translation.statistic_provider'
            - '@translator'
        tags:
            - { name: form.type, alias: oro_translation_add_language }

    oro_translation.form.type.filter.language:
        class: 'Oro\Bundle\TranslationBundle\Form\Type\Filter\LanguageFilterType'
        arguments: 
            - '@oro_locale.formatter.language_code'
        tags:
            - { name: form.type, alias: oro_translation_filter_language }

    oro_translation.form.type.gedmo_translations:
        class: 'Oro\Bundle\TranslationBundle\Form\Type\GedmoTranslationsType'
        arguments:
            - '@oro_translation.form.gedmo_translation_form'
            - '%oro_translation.locales%'
            - '%oro_translation.default_required%'
        tags:
            - { name: form.type, alias: oro_gedmo_translations_from }

    oro_translation.form.gedmo_translation_form:
        class: 'Oro\Bundle\TranslationBundle\Form\TranslationForm\GedmoTranslationForm'
        arguments:
            - '@form.registry'
            - '@doctrine'
        calls:
            - [setGedmoTranslatableListener, ['@stof_doctrine_extensions.listener.translatable']]

{'fraction_non_alphanumeric': 0.09719398129320862, 'fraction_numerical': 0.0028466856445709637, 'mean_word_length': 2.9605475040257647, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '678006', 'n_tokens_mistral': 1434, 'n_tokens_neox': 1397, 'n_words': 165}