<commit_before>parameters:
    customer_manager_class:               Oro\Bundle\FlexibleEntityBundle\Manager\FlexibleManager
    customer_entity_class:                Acme\Bundle\DemoFlexibleEntityBundle\Entity\Customer
    manufacturer_manager_class:           Oro\Bundle\FlexibleEntityBundle\Manager\SimpleManager
    manufacturer_entity_class:            Acme\Bundle\DemoFlexibleEntityBundle\Entity\Manufacturer
    product_manager_class:                Oro\Bundle\FlexibleEntityBundle\Manager\FlexibleManager
    product_entity_class:                 Acme\Bundle\DemoFlexibleEntityBundle\Entity\Product

services:
    customer_manager:
        class:     "%customer_manager_class%"
        arguments:
            - %customer_entity_class%
            - %oro_flexibleentity.flexible_config%
            - @doctrine.orm.entity_manager
            - @event_dispatcher
            - @oro_flexibleentity.attributetype.factory
        tags:
            - { name: oro_flexibleentity_manager, entity: %customer_entity_class%}
        calls:
            - [ addAttributeType, ['oro_flexibleentity_text'] ]
            - [ addAttributeType, ['oro_flexibleentity_textarea'] ]
            - [ addAttributeType, ['oro_flexibleentity_date'] ]
            - [ addAttributeType, ['oro_flexibleentity_url'] ]
            - [ addAttributeType, ['oro_flexibleentity_money'] ]
            - [ addAttributeType, ['oro_flexibleentity_simpleselect'] ]
            - [ addAttributeType, ['oro_flexibleentity_multiselect'] ]

    product_manager:
        class:     "%product_manager_class%"
        arguments:
            - %product_entity_class%
            - %oro_flexibleentity.flexible_config%
            - @doctrine.orm.entity_manager
            - @event_dispatcher
            - @oro_flexibleentity.attributetype.factory
        tags:
            - { name: oro_flexibleentity_manager, entity: %product_entity_class%}
        calls:
            - [ addAttributeType, ['oro_flexibleentity_text'] ]
            - [ addAttributeType, ['oro_flexibleentity_textarea'] ]
            - [ addAttributeType, ['oro_flexibleentity_date'] ]
            - [ addAttributeType, ['oro_flexibleentity_number'] ]
            - [ addAttributeType, ['oro_flexibleentity_price'] ]
            - [ addAttributeType, ['oro_flexibleentity_simpleselect'] ]
            - [ addAttributeType, ['oro_flexibleentity_multiselect'] ]

    manufacturer_manager:
        class:     "%manufacturer_manager_class%"
        arguments: [%manufacturer_entity_class%, "@doctrine.orm.entity_manager"]

    form.type.acme_product:
        class: Acme\Bundle\DemoFlexibleEntityBundle\Form\Type\ProductType
        arguments: [@product_manager, 'acme_product_value']
        tags:
            - { name: form.type, alias: acme_product }

    form.type.acme_product_value:
        class: Acme\Bundle\DemoFlexibleEntityBundle\Form\Type\ProductValueType
        arguments: [@product_manager]
        tags:
            - { name: form.type, alias: acme_product_value }

    form.type.acme_customer:
        class: Acme\Bundle\DemoFlexibleEntityBundle\Form\Type\CustomerType
        arguments: [@customer_manager, 'acme_customer_value']
        tags:
            - { name: form.type, alias: acme_customer }

    form.type.acme_customer_value:
        class: Acme\Bundle\DemoFlexibleEntityBundle\Form\Type\CustomerValueType
        arguments: [@customer_manager]
        tags:
            - { name: form.type, alias: acme_customer_value }

<commit_msg>BAP-873: Fix unit and integration tests in BAP  - fixed services in DemoFlexibleEntityBundle<commit_after>parameters:
    customer_manager_class:               Oro\Bundle\FlexibleEntityBundle\Manager\FlexibleManager
    customer_entity_class:                Acme\Bundle\DemoFlexibleEntityBundle\Entity\Customer
    manufacturer_manager_class:           Oro\Bundle\FlexibleEntityBundle\Manager\SimpleManager
    manufacturer_entity_class:            Acme\Bundle\DemoFlexibleEntityBundle\Entity\Manufacturer
    product_manager_class:                Oro\Bundle\FlexibleEntityBundle\Manager\FlexibleManager
    product_entity_class:                 Acme\Bundle\DemoFlexibleEntityBundle\Entity\Product

services:
    customer_manager:
        class:     "%customer_manager_class%"
        arguments:
            - %customer_entity_class%
            - %oro_flexibleentity.flexible_config%
            - @doctrine.orm.entity_manager
            - @event_dispatcher
            - @oro_flexibleentity.attributetype.factory
        tags:
            - { name: oro_flexibleentity_manager, entity: %customer_entity_class%}
        calls:
            - [ addAttributeType, ['oro_flexibleentity_text'] ]
            - [ addAttributeType, ['oro_flexibleentity_textarea'] ]
            - [ addAttributeType, ['oro_flexibleentity_date'] ]
            - [ addAttributeType, ['oro_flexibleentity_url'] ]
            - [ addAttributeType, ['oro_flexibleentity_money'] ]
            - [ addAttributeType, ['oro_flexibleentity_simpleselect'] ]
            - [ addAttributeType, ['oro_flexibleentity_multiselect'] ]

    product_manager:
        class:     "%product_manager_class%"
        arguments:
            - %product_entity_class%
            - %oro_flexibleentity.flexible_config%
            - @doctrine.orm.entity_manager
            - @event_dispatcher
            - @oro_flexibleentity.attributetype.factory
        tags:
            - { name: oro_flexibleentity_manager, entity: %product_entity_class%}
        calls:
            - [ addAttributeType, ['oro_flexibleentity_text'] ]
            - [ addAttributeType, ['oro_flexibleentity_textarea'] ]
            - [ addAttributeType, ['oro_flexibleentity_date'] ]
            - [ addAttributeType, ['oro_flexibleentity_number'] ]
            - [ addAttributeType, ['oro_flexibleentity_price'] ]
            - [ addAttributeType, ['oro_flexibleentity_simpleselect'] ]
            - [ addAttributeType, ['oro_flexibleentity_multiselect'] ]

    manufacturer_manager:
        class:     "%manufacturer_manager_class%"
        arguments: [%manufacturer_entity_class%, "@doctrine.orm.entity_manager"]

    form.type.acme_product:
        class: Acme\Bundle\DemoFlexibleEntityBundle\Form\Type\ProductType
        arguments: [@product_manager, 'acme_product_value']
        tags:
            - { name: form.type, alias: acme_product }

    form.type.acme_product_value:
        class: Acme\Bundle\DemoFlexibleEntityBundle\Form\Type\ProductValueType
        arguments: [@product_manager, @oro_flexibleentity.value_form.value_subscriber]
        tags:
            - { name: form.type, alias: acme_product_value }

    form.type.acme_customer:
        class: Acme\Bundle\DemoFlexibleEntityBundle\Form\Type\CustomerType
        arguments: [@customer_manager, 'acme_customer_value']
        tags:
            - { name: form.type, alias: acme_customer }

    form.type.acme_customer_value:
        class: Acme\Bundle\DemoFlexibleEntityBundle\Form\Type\CustomerValueType
        arguments: [@customer_manager, @oro_flexibleentity.value_form.value_subscriber]
        tags:
            - { name: form.type, alias: acme_customer_value }


{'fraction_non_alphanumeric': 0.0915699706416888, 'fraction_numerical': 0.00041940444568712426, 'mean_word_length': 2.627789046653144, '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': '7661434', 'n_tokens_mistral': 2069, 'n_tokens_neox': 1998, 'n_words': 253}