Conversation
📝 WalkthroughWalkthroughThis pull request migrates Sylius MoneyBundle's service configuration from XML to PHP format. The services are moved from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
❌ Preview Environment deleted from BunnyshellAvailable commands:
|
34498ac to
8fa91bb
Compare
8fa91bb to
fd3f410
Compare
src/Sylius/Bundle/MoneyBundle/Resources/config/services/integrations/currency.php
Outdated
Show resolved
Hide resolved
| $services->set('sylius.formatter.money', MoneyFormatter::class); | ||
|
|
||
| $services->alias(MoneyFormatterInterface::class, 'sylius.formatter.money'); |
There was a problem hiding this comment.
| $services->set('sylius.formatter.money', MoneyFormatter::class); | |
| $services->alias(MoneyFormatterInterface::class, 'sylius.formatter.money'); | |
| $services->set('sylius.formatter.money', MoneyFormatter::class); | |
| $services->alias(MoneyFormatterInterface::class, 'sylius.formatter.money'); |
For the sake of readability, please merge the service registration with its autowireable counterpart.
| $services->set('sylius.form.type.money', MoneyType::class) | ||
| ->tag('form.type'); |
There was a problem hiding this comment.
| $services->set('sylius.form.type.money', MoneyType::class) | |
| ->tag('form.type'); | |
| $services | |
| ->set('sylius.form.type.money', MoneyType::class) | |
| ->tag('form.type') | |
| ; | |
| or | |
| $services | |
| ->set('sylius.form.type.money', MoneyType::class) | |
| ->tag('form.type'); | |
fd3f410 to
7d85d47
Compare
Summary by CodeRabbit