Skip to content

Commit

Permalink
update upgrade file
Browse files Browse the repository at this point in the history
  • Loading branch information
SirDomin committed May 19, 2021
1 parent bd3b80a commit f08633a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### UPGRADE FROM 1.0.0-RC.9 TO 1.0.0-RC.10

Command bus `sylius_refund_plugin.command_bus` has been replaced with `sylius.command_bus`.
Event bus `sylius_refund_plugin.event_bus` has been replaced with `sylius.event_bus`.

### UPGRADE FROM 1.0.0-RC.7 TO 1.0.0-RC.8

1. The `fully_refunded` state and the `refund` transition have been removed from `sylius_order` state machine.
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/services/event_bus.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<defaults autowire="false" autoconfigure="false" public="true" />

<service id="Sylius\RefundPlugin\Listener\CreditMemoGeneratedEventListener">
<argument type="service" id="sylius.event_bus" />
<argument type="service" id="sylius.command_bus" />
<tag name="messenger.message_handler" bus="sylius.event_bus" />
</service>

Expand All @@ -20,7 +20,7 @@
</service>

<service id="Sylius\RefundPlugin\ProcessManager\CreditMemoProcessManager">
<argument type="service" id="sylius.event_bus" />
<argument type="service" id="sylius.command_bus" />
<tag name="messenger.message_handler" bus="sylius.event_bus" />
</service>

Expand Down

0 comments on commit f08633a

Please sign in to comment.