diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4bcc63b1..a05804d2 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"] @@ -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/ diff --git a/composer.json b/composer.json index e14ce327..0ab16287 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": { @@ -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" 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,