Skip to content

Commit 2e75b48

Browse files
committed
Ecs fix
1 parent 6732c8b commit 2e75b48

9 files changed

Lines changed: 6 additions & 12 deletions

File tree

src/Controller/Helper/FormErrorsFlashHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class FormErrorsFlashHelper implements FormErrorsFlashHelperInterface
1919
{
2020
public function __construct(
2121
private RequestStack $requestStack,
22-
private TranslatorInterface $translator
22+
private TranslatorInterface $translator,
2323
) {
2424
}
2525

src/EventListener/ResourceDeleteSubscriber.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class ResourceDeleteSubscriber implements EventSubscriberInterface
2525
{
2626
public function __construct(
2727
private UrlGeneratorInterface $router,
28-
private RequestStack $requestStack
28+
private RequestStack $requestStack,
2929
) {
3030
}
3131

tests/Behat/Context/Api/BlockContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class BlockContext implements Context
2020
{
2121
public function __construct(
2222
private ApiClientInterface $apiClient,
23-
private ResponseCheckerInterface $responseChecker
23+
private ResponseCheckerInterface $responseChecker,
2424
) {
2525
}
2626

tests/Behat/Context/Setup/MediaContext.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@
1313
use Behat\Behat\Context\Context;
1414
use BitBag\SyliusCmsPlugin\Entity\MediaInterface;
1515
use BitBag\SyliusCmsPlugin\Repository\MediaRepositoryInterface;
16-
use BitBag\SyliusCmsPlugin\Repository\SectionRepositoryInterface;
1716
use BitBag\SyliusCmsPlugin\Resolver\MediaProviderResolverInterface;
18-
use Doctrine\ORM\EntityManagerInterface;
1917
use Sylius\Behat\Service\SharedStorageInterface;
2018
use Sylius\Component\Core\Model\ChannelInterface;
21-
use Sylius\Component\Core\Repository\ProductRepositoryInterface;
2219
use Sylius\Component\Resource\Factory\FactoryInterface;
2320
use Symfony\Component\HttpFoundation\File\UploadedFile;
2421
use Tests\BitBag\SyliusCmsPlugin\Behat\Service\RandomStringGeneratorInterface;

tests/Behat/Context/Transform/BlockContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class BlockContext implements Context
1919
{
2020
public function __construct(
2121
private BlockRepositoryInterface $blockRepository,
22-
private string $locale = 'en_US'
22+
private string $locale = 'en_US',
2323
) {
2424
}
2525

tests/Behat/Context/Transform/PageContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class PageContext implements Context
1919
{
2020
public function __construct(
2121
private PageRepositoryInterface $pageRepository,
22-
private string $locale = 'en_US'
22+
private string $locale = 'en_US',
2323
) {
2424
}
2525

tests/Behat/Context/Transform/SectionContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class SectionContext implements Context
1919
{
2020
public function __construct(
2121
private SectionRepositoryInterface $sectionRepository,
22-
private string $locale = 'en_US'
22+
private string $locale = 'en_US',
2323
) {
2424
}
2525

tests/Behat/Context/Ui/Admin/MediaContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111
namespace Tests\BitBag\SyliusCmsPlugin\Behat\Context\Ui\Admin;
1212

1313
use Behat\Behat\Context\Context;
14-
use BitBag\SyliusCmsPlugin\Repository\MediaRepositoryInterface;
1514
use FriendsOfBehat\PageObjectExtension\Page\SymfonyPageInterface;
1615
use Sylius\Behat\NotificationType;
1716
use Sylius\Behat\Service\NotificationCheckerInterface;
1817
use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface;
19-
use Sylius\Behat\Service\SharedStorageInterface;
2018
use Tests\BitBag\SyliusCmsPlugin\Behat\Page\Admin\Media\CreatePageInterface;
2119
use Tests\BitBag\SyliusCmsPlugin\Behat\Page\Admin\Media\IndexPageInterface;
2220
use Tests\BitBag\SyliusCmsPlugin\Behat\Page\Admin\Media\UpdatePageInterface;

tests/Behat/Context/Ui/Shop/MediaContext.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Behat\Mink\Element\DocumentElement;
1616
use Behat\MinkExtension\Context\RawMinkContext;
1717
use BitBag\SyliusCmsPlugin\Repository\MediaRepositoryInterface;
18-
use Tests\BitBag\SyliusCmsPlugin\Behat\Page\Shop\HomePageInterface;
1918

2019
class MediaContext extends RawMinkContext implements Context
2120
{

0 commit comments

Comments
 (0)