diff --git a/src/Controller/Helper/FormErrorsFlashHelper.php b/src/Controller/Helper/FormErrorsFlashHelper.php index fe7fece53..ab03bedc8 100644 --- a/src/Controller/Helper/FormErrorsFlashHelper.php +++ b/src/Controller/Helper/FormErrorsFlashHelper.php @@ -19,7 +19,7 @@ final class FormErrorsFlashHelper implements FormErrorsFlashHelperInterface { public function __construct( private RequestStack $requestStack, - private TranslatorInterface $translator + private TranslatorInterface $translator, ) { } diff --git a/src/EventListener/ResourceDeleteSubscriber.php b/src/EventListener/ResourceDeleteSubscriber.php index c1a8be5c3..cc28175f7 100644 --- a/src/EventListener/ResourceDeleteSubscriber.php +++ b/src/EventListener/ResourceDeleteSubscriber.php @@ -25,7 +25,7 @@ final class ResourceDeleteSubscriber implements EventSubscriberInterface { public function __construct( private UrlGeneratorInterface $router, - private RequestStack $requestStack + private RequestStack $requestStack, ) { } diff --git a/tests/Behat/Context/Api/BlockContext.php b/tests/Behat/Context/Api/BlockContext.php index 914e51b72..588f4b147 100644 --- a/tests/Behat/Context/Api/BlockContext.php +++ b/tests/Behat/Context/Api/BlockContext.php @@ -20,7 +20,7 @@ final class BlockContext implements Context { public function __construct( private ApiClientInterface $apiClient, - private ResponseCheckerInterface $responseChecker + private ResponseCheckerInterface $responseChecker, ) { } diff --git a/tests/Behat/Context/Setup/MediaContext.php b/tests/Behat/Context/Setup/MediaContext.php index 8c6704e9b..3de6ea4a5 100755 --- a/tests/Behat/Context/Setup/MediaContext.php +++ b/tests/Behat/Context/Setup/MediaContext.php @@ -13,12 +13,9 @@ use Behat\Behat\Context\Context; use BitBag\SyliusCmsPlugin\Entity\MediaInterface; use BitBag\SyliusCmsPlugin\Repository\MediaRepositoryInterface; -use BitBag\SyliusCmsPlugin\Repository\SectionRepositoryInterface; use BitBag\SyliusCmsPlugin\Resolver\MediaProviderResolverInterface; -use Doctrine\ORM\EntityManagerInterface; use Sylius\Behat\Service\SharedStorageInterface; use Sylius\Component\Core\Model\ChannelInterface; -use Sylius\Component\Core\Repository\ProductRepositoryInterface; use Sylius\Component\Resource\Factory\FactoryInterface; use Symfony\Component\HttpFoundation\File\UploadedFile; use Tests\BitBag\SyliusCmsPlugin\Behat\Service\RandomStringGeneratorInterface; diff --git a/tests/Behat/Context/Transform/BlockContext.php b/tests/Behat/Context/Transform/BlockContext.php index 6a44ffa10..ea177a624 100644 --- a/tests/Behat/Context/Transform/BlockContext.php +++ b/tests/Behat/Context/Transform/BlockContext.php @@ -19,7 +19,7 @@ final class BlockContext implements Context { public function __construct( private BlockRepositoryInterface $blockRepository, - private string $locale = 'en_US' + private string $locale = 'en_US', ) { } diff --git a/tests/Behat/Context/Transform/PageContext.php b/tests/Behat/Context/Transform/PageContext.php index e20adf0c6..2de812ab4 100644 --- a/tests/Behat/Context/Transform/PageContext.php +++ b/tests/Behat/Context/Transform/PageContext.php @@ -19,7 +19,7 @@ final class PageContext implements Context { public function __construct( private PageRepositoryInterface $pageRepository, - private string $locale = 'en_US' + private string $locale = 'en_US', ) { } diff --git a/tests/Behat/Context/Transform/SectionContext.php b/tests/Behat/Context/Transform/SectionContext.php index ddbac13d6..461cad274 100644 --- a/tests/Behat/Context/Transform/SectionContext.php +++ b/tests/Behat/Context/Transform/SectionContext.php @@ -19,7 +19,7 @@ final class SectionContext implements Context { public function __construct( private SectionRepositoryInterface $sectionRepository, - private string $locale = 'en_US' + private string $locale = 'en_US', ) { } diff --git a/tests/Behat/Context/Ui/Admin/MediaContext.php b/tests/Behat/Context/Ui/Admin/MediaContext.php index 1d80ef993..d4800a777 100755 --- a/tests/Behat/Context/Ui/Admin/MediaContext.php +++ b/tests/Behat/Context/Ui/Admin/MediaContext.php @@ -11,12 +11,10 @@ namespace Tests\BitBag\SyliusCmsPlugin\Behat\Context\Ui\Admin; use Behat\Behat\Context\Context; -use BitBag\SyliusCmsPlugin\Repository\MediaRepositoryInterface; use FriendsOfBehat\PageObjectExtension\Page\SymfonyPageInterface; use Sylius\Behat\NotificationType; use Sylius\Behat\Service\NotificationCheckerInterface; use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface; -use Sylius\Behat\Service\SharedStorageInterface; use Tests\BitBag\SyliusCmsPlugin\Behat\Page\Admin\Media\CreatePageInterface; use Tests\BitBag\SyliusCmsPlugin\Behat\Page\Admin\Media\IndexPageInterface; use Tests\BitBag\SyliusCmsPlugin\Behat\Page\Admin\Media\UpdatePageInterface; diff --git a/tests/Behat/Context/Ui/Shop/MediaContext.php b/tests/Behat/Context/Ui/Shop/MediaContext.php index 4d30176ee..8a63fd2fd 100644 --- a/tests/Behat/Context/Ui/Shop/MediaContext.php +++ b/tests/Behat/Context/Ui/Shop/MediaContext.php @@ -15,7 +15,6 @@ use Behat\Mink\Element\DocumentElement; use Behat\MinkExtension\Context\RawMinkContext; use BitBag\SyliusCmsPlugin\Repository\MediaRepositoryInterface; -use Tests\BitBag\SyliusCmsPlugin\Behat\Page\Shop\HomePageInterface; class MediaContext extends RawMinkContext implements Context {