From db5761b33c36e2596d7c2fc54ed923733f9360a0 Mon Sep 17 00:00:00 2001 From: Marek Rzytki Date: Fri, 17 May 2024 11:46:20 +0200 Subject: [PATCH] Coding standard fixes --- tests/Behat/Context/Ui/EmailTemplateContext.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Behat/Context/Ui/EmailTemplateContext.php b/tests/Behat/Context/Ui/EmailTemplateContext.php index c773ef7..8e0edc8 100644 --- a/tests/Behat/Context/Ui/EmailTemplateContext.php +++ b/tests/Behat/Context/Ui/EmailTemplateContext.php @@ -14,12 +14,12 @@ use Behat\Behat\Context\Context; use Sylius\Behat\Service\Checker\EmailCheckerInterface; use Sylius\Behat\Service\SharedStorageInterface; +use Sylius\Bundle\CoreBundle\SyliusCoreBundle; use Sylius\Component\Core\Model\CustomerInterface; use Sylius\Component\Core\Model\OrderInterface; use Sylius\Component\Core\Model\ShipmentInterface; use Sylius\Component\Core\Model\ShippingMethodInterface; use Webmozart\Assert\Assert; -use Sylius\Bundle\CoreBundle\SyliusCoreBundle; final class EmailTemplateContext implements Context { @@ -154,6 +154,7 @@ public function numberOfEmailsShouldBeSentToDependingOnSyliusVersion(string $rec { $count = 1; + /** @phpstan-ignore-next-line */ if (13 !== (int) SyliusCoreBundle::MINOR_VERSION) { $count = 2; }