From 2bd700911658a7c45d5a146be272ca25d5972b9f Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Wed, 6 Nov 2024 04:17:57 +0100 Subject: [PATCH 1/5] Type collections and update constructors Type collections and update constructors --- src/Provider/RemainingTotalProvider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Provider/RemainingTotalProvider.php b/src/Provider/RemainingTotalProvider.php index 469d0769..f20d333a 100644 --- a/src/Provider/RemainingTotalProvider.php +++ b/src/Provider/RemainingTotalProvider.php @@ -28,6 +28,7 @@ final class RemainingTotalProvider implements RemainingTotalProviderInterface private ?RepositoryInterface $adjustmentRepository = null; + /** @param ServiceProviderInterface|RepositoryInterface $refundUnitTotalProvider */ public function __construct( private readonly ServiceProviderInterface|RepositoryInterface $refundUnitTotalProvider, private RepositoryInterface $refundRepository, From 5dd78558007e656972be0e6c3c72f701f354b2e6 Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Mon, 4 Nov 2024 16:48:34 +0100 Subject: [PATCH 2/5] [CI] Add Sylius 1.14.0-beta.1 to matrix --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4bcc63b1..cfabb2d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: matrix: php: ["8.1", "8.2"] symfony: ["^5.4.21", "^6.4"] - sylius: ["~1.13.0"] + sylius: ["~1.13.0", "v1.14.0-beta.1"] node: ["20.x"] mysql: ["8.0"] wkhtmltopdf: ["0.12.6-1"] From ed0caf6152bb69495990665dd5981d915b0c30ff Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Mon, 4 Nov 2024 16:48:53 +0100 Subject: [PATCH 3/5] [Composer] Support Sylius 1.14.0-beta.1 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e14ce327..4ede6395 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "myclabs/php-enum": "^1.7", "php-http/message-factory": "^1.1", "sylius/resource-bundle": "^1.9", - "sylius/sylius": "~1.13.0", + "sylius/sylius": "~1.13.0 || v1.14.0-beta.1", "symfony/messenger": "^5.4.21 || ^6.4" }, "require-dev": { From c9a6f7fe26b78971399930f0ceda31a9913515d1 Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Mon, 4 Nov 2024 16:49:36 +0100 Subject: [PATCH 4/5] [Composer] Update branch alias --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4ede6395..0ab16287 100644 --- a/composer.json +++ b/composer.json @@ -90,7 +90,7 @@ }, "extra": { "branch-alias": { - "dev-1.4": "1.4-dev" + "dev-1.6": "1.6-dev" }, "symfony": { "require": "^5.4 || ^6.0" From a54ddde2ffc41a6c613254e9bae2de82f00e32e5 Mon Sep 17 00:00:00 2001 From: Rafikooo Date: Wed, 6 Nov 2024 04:33:54 +0100 Subject: [PATCH 5/5] [CI] Change composer validate command flag --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cfabb2d3..a05804d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -211,8 +211,9 @@ jobs: - name: Validate composer.json - run: composer validate --ansi --strict - +# Restore before RefundPlugin 1.6 release +# run: composer validate --ansi --strict + run: composer validate --ansi --strict --no-check-all - name: Run ECS run: vendor/bin/ecs check src/ spec/