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

<!--

 This file is part of the Sylius 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"
>
    <services>
        <service id="Sylius\Bundle\ApiBundle\CommandHandler\RegisterShopUserHandler">
            <argument type="service" id="sylius.factory.shop_user" />
            <argument type="service" id="sylius.manager.shop_user" />
            <argument type="service" id="Sylius\Bundle\ApiBundle\Provider\CustomerProviderInterface" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\PickupCartHandler">
            <argument type="service" id="sylius.factory.order" />
            <argument type="service" id="sylius.context.channel" />
            <argument type="service" id="sylius.api.context.user" />
            <argument type="service" id="sylius.manager.order" />
            <argument type="service" id="sylius.random_generator" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Cart\AddItemToCartHandler">
            <argument type="service" id="sylius.repository.order" />
            <argument type="service" id="sylius.repository.product_variant" />
            <argument type="service" id="sylius.order_modifier" />
            <argument type="service" id="sylius.factory.order_item" />
            <argument type="service" id="sylius.order_item_quantity_modifier" />
            <argument type="service" id="sylius.order_processing.order_processor" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Cart\RemoveItemFromCartHandler">
            <argument type="service" id="sylius.repository.order_item"/>
            <argument type="service" id="sylius.order_modifier" />
            <argument type="service" id="sylius.order_processing.order_processor" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Checkout\AddressOrderHandler">
            <argument type="service" id="sylius.repository.order"/>
            <argument type="service" id="sylius.repository.customer"/>
            <argument type="service" id="sylius.factory.customer"/>
            <argument type="service" id="sylius.manager.customer"/>
            <argument type="service" id="sm.factory" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Checkout\ChooseShippingMethodHandler">
            <argument type="service" id="sylius.repository.order"/>
            <argument type="service" id="sylius.repository.shipping_method"/>
            <argument type="service" id="sylius.repository.shipment"/>
            <argument type="service" id="sylius.shipping_eligibility_checker"/>
            <argument type="service" id="sm.factory" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Checkout\ChoosePaymentMethodHandler">
            <argument type="service" id="sylius.repository.order"/>
            <argument type="service" id="sylius.repository.payment_method"/>
            <argument type="service" id="sylius.repository.payment"/>
            <argument type="service" id="sm.factory" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Checkout\CompleteOrderHandler">
            <argument type="service" id="sylius.repository.order"/>
            <argument type="service" id="sm.factory" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Cart\ChangeItemQuantityInCartHandler">
            <argument type="service" id="sylius.repository.order_item" />
            <argument type="service" id="sylius.order_item_quantity_modifier" />
            <argument type="service" id="sylius.order_processing.order_processor" />
            <tag name="messenger.message_handler" />
        </service>
    </services>
</container>
<commit_msg>minor #11982 [Minor] Update service definition to not using depracated service (lchrusciel)<commit_after><?xml version="1.0" encoding="UTF-8"?>

<!--

 This file is part of the Sylius 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"
>
    <services>
        <service id="Sylius\Bundle\ApiBundle\CommandHandler\RegisterShopUserHandler">
            <argument type="service" id="sylius.factory.shop_user" />
            <argument type="service" id="sylius.manager.shop_user" />
            <argument type="service" id="Sylius\Bundle\ApiBundle\Provider\CustomerProviderInterface" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\PickupCartHandler">
            <argument type="service" id="sylius.factory.order" />
            <argument type="service" id="sylius.context.channel" />
            <argument type="service" id="sylius.api.context.user" />
            <argument type="service" id="sylius.manager.order" />
            <argument type="service" id="sylius.random_generator" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Cart\AddItemToCartHandler">
            <argument type="service" id="sylius.repository.order" />
            <argument type="service" id="sylius.repository.product_variant" />
            <argument type="service" id="sylius.order_modifier" />
            <argument type="service" id="sylius.factory.order_item" />
            <argument type="service" id="sylius.order_item_quantity_modifier" />
            <argument type="service" id="sylius.order_processing.order_processor" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Cart\RemoveItemFromCartHandler">
            <argument type="service" id="sylius.repository.order_item"/>
            <argument type="service" id="sylius.order_modifier" />
            <argument type="service" id="sylius.order_processing.order_processor" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Checkout\AddressOrderHandler">
            <argument type="service" id="sylius.repository.order"/>
            <argument type="service" id="sylius.repository.customer"/>
            <argument type="service" id="sylius.factory.customer"/>
            <argument type="service" id="sylius.manager.customer"/>
            <argument type="service" id="sm.factory" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Checkout\ChooseShippingMethodHandler">
            <argument type="service" id="sylius.repository.order"/>
            <argument type="service" id="sylius.repository.shipping_method"/>
            <argument type="service" id="sylius.repository.shipment"/>
            <argument type="service" id="sylius.shipping_method_eligibility_checker"/>
            <argument type="service" id="sm.factory" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Checkout\ChoosePaymentMethodHandler">
            <argument type="service" id="sylius.repository.order"/>
            <argument type="service" id="sylius.repository.payment_method"/>
            <argument type="service" id="sylius.repository.payment"/>
            <argument type="service" id="sm.factory" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Checkout\CompleteOrderHandler">
            <argument type="service" id="sylius.repository.order"/>
            <argument type="service" id="sm.factory" />
            <tag name="messenger.message_handler" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\CommandHandler\Cart\ChangeItemQuantityInCartHandler">
            <argument type="service" id="sylius.repository.order_item" />
            <argument type="service" id="sylius.order_item_quantity_modifier" />
            <argument type="service" id="sylius.order_processing.order_processor" />
            <tag name="messenger.message_handler" />
        </service>
    </services>
</container>

{'fraction_non_alphanumeric': 0.1401267046064641, 'fraction_numerical': 0.0026844196284763235, 'mean_word_length': 2.9600340136054424, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 2, '>': 143, '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': '6722647', 'n_tokens_mistral': 2663, 'n_tokens_neox': 2594, 'n_words': 397}