Skip to content

[Maintenance] [XML2PHP] convert service definition configs from xml to PHP - #362

Open
crydotsnake wants to merge 2 commits into
Sylius:3.3from
crydotsnake:maintenance/xml2php-convert-service-definitions-from-xml-to-php
Open

[Maintenance] [XML2PHP] convert service definition configs from xml to PHP#362
crydotsnake wants to merge 2 commits into
Sylius:3.3from
crydotsnake:maintenance/xml2php-convert-service-definitions-from-xml-to-php

Conversation

@crydotsnake

Copy link
Copy Markdown
Member
Q A
Branch? 3.3
Bug fix? no
New feature? no
Related tickets mentioned in #361

This PR takes care of converting the service definitions from XML to PHP.

return static function (ContainerConfigurator $container): void {
if (class_exists(\Sylius\RefundPlugin\SyliusRefundPlugin::class)) {
$container->import('services/**/*.xml');
$container->import('services/**/*.php');

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this line too as there is already a PR open to convert the service definitions configs from XML to PHP: Sylius/RefundPlugin#501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant