Skip to content

Commit dcf3e9d

Browse files
author
Paweł Piórkowski
committed
fix/OP-5feature/OP-551-Plugin-to-Sylius-2.0
1 parent 5b9eb98 commit dcf3e9d

24 files changed

+44
-54
lines changed

spec/Controller/Action/AddProductToWishlistActionSpec.php renamed to spec/Action/AddProductToWishlistActionSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
declare(strict_types=1);
1111

12-
namespace spec\BitBag\SyliusWishlistPlugin\Controller\Action;
12+
namespace spec\BitBag\SyliusWishlistPlugin\Action;
1313

1414
use BitBag\SyliusWishlistPlugin\Action\AddProductToWishlistAction;
1515
use BitBag\SyliusWishlistPlugin\Entity\WishlistInterface;

spec/Controller/Action/AddProductVariantToWishlistActionSpec.php renamed to spec/Action/AddProductVariantToWishlistActionSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
declare(strict_types=1);
1111

12-
namespace spec\BitBag\SyliusWishlistPlugin\Controller\Action;
12+
namespace spec\BitBag\SyliusWishlistPlugin\Action;
1313

1414
use BitBag\SyliusWishlistPlugin\Action\AddProductVariantToWishlistAction;
1515
use BitBag\SyliusWishlistPlugin\Entity\WishlistInterface;

spec/Controller/Action/ListWishlistProductsActionSpec.php renamed to spec/Action/ListWishlistProductsActionSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
declare(strict_types=1);
1111

12-
namespace spec\BitBag\SyliusWishlistPlugin\Controller\Action;
12+
namespace spec\BitBag\SyliusWishlistPlugin\Action;
1313

1414
use BitBag\SyliusWishlistPlugin\Action\ListWishlistProductsAction;
1515
use BitBag\SyliusWishlistPlugin\Entity\WishlistInterface;

spec/Controller/Action/RemoveProductFromWishlistActionSpec.php renamed to spec/Action/RemoveProductFromWishlistActionSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
declare(strict_types=1);
1111

12-
namespace spec\BitBag\SyliusWishlistPlugin\Controller\Action;
12+
namespace spec\BitBag\SyliusWishlistPlugin\Action;
1313

1414
use BitBag\SyliusWishlistPlugin\Action\RemoveProductFromWishlistAction;
1515
use BitBag\SyliusWishlistPlugin\Context\WishlistContextInterface;

spec/Controller/Action/RenderHeaderTemplateActionSpec.php renamed to spec/Action/RenderHeaderTemplateActionSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
declare(strict_types=1);
1111

12-
namespace spec\BitBag\SyliusWishlistPlugin\Controller\Action;
12+
namespace spec\BitBag\SyliusWishlistPlugin\Action;
1313

1414
use BitBag\SyliusWishlistPlugin\Action\RenderHeaderTemplateAction;
1515
use BitBag\SyliusWishlistPlugin\Resolver\WishlistsResolverInterface;

src/Action/AddProductToWishlistAction.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace BitBag\SyliusWishlistPlugin\Action;
1313

1414
use BitBag\SyliusWishlistPlugin\Entity\WishlistInterface;
15-
use BitBag\SyliusWishlistPlugin\Entity\WishlistProductInterface;
1615
use BitBag\SyliusWishlistPlugin\Exception\WishlistNotFoundException;
1716
use BitBag\SyliusWishlistPlugin\Factory\WishlistProductFactoryInterface;
1817
use BitBag\SyliusWishlistPlugin\Resolver\WishlistsResolverInterface;

src/Action/AddSelectedProductsToCartAction.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
final class AddSelectedProductsToCartAction extends BaseWishlistProductsAction
2323
{
24-
2524
protected function handleCommand(FormInterface $form): void
2625
{
2726
try {

src/Action/ApiPlatform/RemoveProductFromWishlistAction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020
final readonly class RemoveProductFromWishlistAction
2121
{
22-
2322
public function __construct(
24-
private MessageBusInterface $messageBus)
23+
private MessageBusInterface $messageBus,
24+
)
2525
{
2626
}
2727

src/Action/ApiPlatform/RemoveProductVariantFromWishlistAction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
final readonly class RemoveProductVariantFromWishlistAction
2121
{
2222
public function __construct(
23-
private MessageBusInterface $messageBus)
23+
private MessageBusInterface $messageBus,
24+
)
2425
{
2526
}
2627

src/Action/ApiPlatform/RemoveWishlistAction.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020
final readonly class RemoveWishlistAction
2121
{
2222
public function __construct(
23-
private MessageBusInterface $messageBus
24-
)
25-
{
23+
private MessageBusInterface $messageBus,
24+
) {
2625
}
2726

2827
public function __invoke(Request $request): JsonResponse

0 commit comments

Comments
 (0)