From 1952e2aceaa72e7aa1d7bafc21513f08d0a21a2d Mon Sep 17 00:00:00 2001 From: Grzegorz Sadowski Date: Mon, 4 Nov 2024 14:44:07 +0100 Subject: [PATCH 1/2] Add missing entities to 2.0 --- config/packages/_sylius.yaml | 6 ++++++ src/Entity/Channel/ShopBillingData.php | 14 ++++++++++++++ src/Entity/User/AvatarImage.php | 14 ++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 src/Entity/Channel/ShopBillingData.php create mode 100644 src/Entity/User/AvatarImage.php diff --git a/config/packages/_sylius.yaml b/config/packages/_sylius.yaml index f7b5a1d15c..d188419cb8 100644 --- a/config/packages/_sylius.yaml +++ b/config/packages/_sylius.yaml @@ -48,6 +48,9 @@ sylius_channel: model: App\Entity\Channel\Channel sylius_core: resources: + avatar_image: + classes: + model: App\Entity\User\AvatarImage product_image: classes: model: App\Entity\Product\ProductImage @@ -66,6 +69,9 @@ sylius_core: channel_pricing_log_entry: classes: model: App\Entity\Channel\ChannelPricingLogEntry + shop_billing_data: + classes: + model: App\Entity\Channel\ShopBillingData sylius_currency: resources: diff --git a/src/Entity/Channel/ShopBillingData.php b/src/Entity/Channel/ShopBillingData.php new file mode 100644 index 0000000000..cce1ef94a4 --- /dev/null +++ b/src/Entity/Channel/ShopBillingData.php @@ -0,0 +1,14 @@ + Date: Sun, 10 Nov 2024 14:35:01 +0100 Subject: [PATCH 2/2] [Composer] Bump Sylius to v2.0.0-RC.1 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 856adfc6c5..f83e54cebf 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ ], "require": { "php": "^8.2", - "sylius/sylius": "v2.0.0-beta.1", + "sylius/sylius": "v2.0.0-rc.1", "symfony/dotenv": "^6.4 || ^7.1", "symfony/flex": "^2.4", "symfony/runtime": "^6.4 || ^7.1"