Skip to content

Commit

Permalink
Remove unnecessary config for default bus
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Feb 15, 2021
1 parent 29bbe93 commit 9e44556
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 23 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ It is used by `KnpSnappyBundle` and can be configured according to [their documm
cp -R vendor/sylius/refund-plugin/src/Resources/views/SyliusAdminBundle/* templates/bundles/SyliusAdminBundle/
```

4. (optional) If you don't use `symfony/messenger` component yet, it is required to configure one of the message buses as a default bus:
```yaml
framework:
messenger:
default_bus: sylius_refund_plugin.command_bus
```
#### Beware!

This installation instruction assumes that you're using Symfony Flex. If you don't, take a look at the
Expand Down
8 changes: 0 additions & 8 deletions docs/legacy_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,3 @@
```bash
bin/console cache:clear
```
9. (optional) If you don't use `symfony/messenger` component yet, it is required to configure one of the message buses as a default bus:
```yaml
framework:
messenger:
default_bus: sylius_refund_plugin.command_bus
```
4 changes: 0 additions & 4 deletions tests/Application/config/packages/sylius_refund.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
imports:
- { resource: "@SyliusRefundPlugin/Resources/config/app/config.yml" }

framework:
messenger:
default_bus: sylius_refund_plugin.command_bus
3 changes: 0 additions & 3 deletions tests/Application/config/packages/test/sylius_refund.yaml

This file was deleted.

0 comments on commit 9e44556

Please sign in to comment.