Completed
Push — master ( 15ec76...bc0d17 )
by Kamil
15s
created
src/Factory/CartViewFactory.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,6 @@
 block discarded – undo
5 5
 use Sylius\Component\Core\Model\OrderInterface;
6 6
 use Sylius\Component\Core\Model\OrderItemInterface;
7 7
 use Sylius\ShopApiPlugin\View\CartSummaryView;
8
-use Sylius\ShopApiPlugin\View\TotalsView;
9
-use Sylius\ShopApiPlugin\View\ItemView;
10 8
 
11 9
 final class CartViewFactory implements CartViewFactoryInterface
12 10
 {
Please login to merge, or discard this patch.
src/Controller/Checkout/ShowAvailablePaymentMethodsAction.php 1 patch
Unused Use Statements   -8 removed lines patch added patch discarded remove patch
@@ -4,20 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use FOS\RestBundle\View\View;
6 6
 use FOS\RestBundle\View\ViewHandlerInterface;
7
-use Sylius\Component\Core\Factory\PaymentMethodFactoryInterface;
8 7
 use Sylius\Component\Core\Model\OrderInterface;
9 8
 use Sylius\Component\Core\Model\PaymentInterface;
10 9
 use Sylius\Component\Core\Model\PaymentMethodInterface;
11
-use Sylius\Component\Core\Model\ShipmentInterface;
12
-use Sylius\Component\Core\Model\ShippingMethodInterface;
13 10
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
14 11
 use Sylius\Component\Payment\Resolver\PaymentMethodsResolverInterface;
15
-use Sylius\Component\Registry\ServiceRegistryInterface;
16
-use Sylius\Component\Shipping\Calculator\CalculatorInterface;
17
-use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface;
18 12
 use Sylius\ShopApiPlugin\Factory\PaymentMethodViewFactoryInterface;
19
-use Sylius\ShopApiPlugin\View\PaymentMethodView;
20
-use Sylius\ShopApiPlugin\View\ShipmentMethodView;
21 13
 use Symfony\Component\HttpFoundation\Request;
22 14
 use Symfony\Component\HttpFoundation\Response;
23 15
 
Please login to merge, or discard this patch.
src/Controller/Product/ShowProductDetailsAction.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 use FOS\RestBundle\View\ViewHandlerInterface;
7 7
 use Sylius\Component\Channel\Repository\ChannelRepositoryInterface;
8 8
 use Sylius\Component\Core\Model\ChannelInterface;
9
-use Sylius\Component\Core\Model\ProductInterface;
10 9
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
11
-use Sylius\Component\Product\Model\ProductAssociationInterface;
12 10
 use Sylius\ShopApiPlugin\Factory\ProductViewFactoryInterface;
13 11
 use Symfony\Component\HttpFoundation\Request;
14 12
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.
src/Handler/AddReviewHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
10 10
 use Sylius\Component\Core\Repository\ProductReviewRepositoryInterface;
11 11
 use Sylius\Component\Review\Factory\ReviewFactoryInterface;
12
-use Sylius\Component\Review\Model\ReviewInterface;
13 12
 use Sylius\ShopApiPlugin\Command\AddReview;
14 13
 use Sylius\ShopApiPlugin\Provider\ProductReviewerProviderInterface;
15 14
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.
src/Factory/ProductViewFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Sylius\Component\Core\Model\TaxonInterface;
12 12
 use Sylius\ShopApiPlugin\View\ProductTaxonView;
13 13
 use Sylius\ShopApiPlugin\View\ProductView;
14
-use Sylius\ShopApiPlugin\View\TaxonView;
15 14
 
16 15
 final class ProductViewFactory implements ProductViewFactoryInterface
17 16
 {
Please login to merge, or discard this patch.