Completed
Push — admin-api-bundle ( 04cc3d...2d534d )
by Kamil
19:53
created
src/Sylius/Bundle/CustomerBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,14 +12,14 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\CustomerBundle\DependencyInjection;
13 13
 
14 14
 use Sylius\Bundle\CustomerBundle\Form\Type\CustomerGroupType;
15
+use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType;
15 16
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
16 17
 use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
17
-use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType;
18
-use Sylius\Component\Customer\Model\CustomerGroup;
19
-use Sylius\Component\Resource\Factory\Factory;
20 18
 use Sylius\Component\Customer\Model\Customer;
21
-use Sylius\Component\Customer\Model\CustomerInterface;
19
+use Sylius\Component\Customer\Model\CustomerGroup;
22 20
 use Sylius\Component\Customer\Model\CustomerGroupInterface;
21
+use Sylius\Component\Customer\Model\CustomerInterface;
22
+use Sylius\Component\Resource\Factory\Factory;
23 23
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
24 24
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
25 25
 use Symfony\Component\Config\Definition\ConfigurationInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/StateResolver/CheckoutStateResolver.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -14,12 +14,9 @@
 block discarded – undo
14 14
 use SM\Factory\FactoryInterface;
15 15
 use Sylius\Component\Core\Checker\OrderPaymentMethodSelectionRequirementCheckerInterface;
16 16
 use Sylius\Component\Core\Checker\OrderShippingMethodSelectionRequirementCheckerInterface;
17
-use Sylius\Component\Core\Model\OrderItemInterface;
18
-use Sylius\Component\Core\Model\ShipmentInterface;
19 17
 use Sylius\Component\Core\OrderCheckoutTransitions;
20 18
 use Sylius\Component\Order\Model\OrderInterface;
21 19
 use Sylius\Component\Order\StateResolver\StateResolverInterface;
22
-use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface;
23 20
 
24 21
 /**
25 22
  * @author Anna Walasek <[email protected]>
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/Fixture/Factory/PaymentMethodExampleFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Sylius\Component\Core\Formatter\StringInflector;
18 18
 use Sylius\Component\Core\Model\PaymentMethodInterface;
19 19
 use Sylius\Component\Locale\Model\LocaleInterface;
20
-use Sylius\Component\Resource\Factory\FactoryInterface;
21 20
 use Sylius\Component\Resource\Repository\RepositoryInterface;
22 21
 use Symfony\Component\OptionsResolver\Options;
23 22
 use Symfony\Component\OptionsResolver\OptionsResolver;
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/Fixture/Factory/ProductAttributeExampleFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Sylius\Component\Core\Formatter\StringInflector;
16 16
 use Sylius\Component\Locale\Model\LocaleInterface;
17 17
 use Sylius\Component\Product\Model\ProductAttributeInterface;
18
-use Sylius\Component\Product\Model\ProductOptionInterface;
19 18
 use Sylius\Component\Resource\Repository\RepositoryInterface;
20 19
 use Symfony\Component\OptionsResolver\Options;
21 20
 use Symfony\Component\OptionsResolver\OptionsResolver;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/MugProductFixture.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Bundle\FixturesBundle\Fixture\AbstractFixture;
15 15
 use Sylius\Component\Attribute\AttributeType\SelectAttributeType;
16
-use Sylius\Component\Attribute\AttributeType\TextAttributeType;
17 16
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
18 17
 use Symfony\Component\OptionsResolver\OptionsResolver;
19 18
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/PaymentMethod.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface;
18 18
 use Sylius\Component\Payment\Model\PaymentMethod as BasePaymentMethod;
19 19
 use Sylius\Component\Payment\Model\PaymentMethodTranslation;
20
-use Sylius\Component\Resource\Exception\UnsupportedMethodException;
21 20
 
22 21
 /**
23 22
  * @author Mateusz Zalewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/Controller/OrderController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\OrderBundle\Controller;
13 13
 
14
-use Doctrine\ORM\EntityManager;
15 14
 use FOS\RestBundle\View\View;
16
-use Payum\Core\Registry\RegistryInterface;
17 15
 use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration;
18 16
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
19 17
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
@@ -27,7 +25,6 @@  discard block
 block discarded – undo
27 25
 use Symfony\Component\HttpFoundation\Request;
28 26
 use Symfony\Component\HttpFoundation\Response;
29 27
 use Symfony\Component\HttpKernel\Exception\HttpException;
30
-use Webmozart\Assert\Assert;
31 28
 
32 29
 class OrderController extends ResourceController
33 30
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Context/SessionAndChannelBasedCartContext.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Component\Channel\Context\ChannelContextInterface;
15 15
 use Sylius\Component\Channel\Context\ChannelNotFoundException;
16
-use Sylius\Component\Core\Model\OrderInterface;
17 16
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
18 17
 use Sylius\Component\Order\Context\CartContextInterface;
19 18
 use Sylius\Component\Order\Context\CartNotFoundException;
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/Doctrine/ORM/ExpressionBuilder.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\GridBundle\Doctrine\ORM;
13 13
 
14
-use Doctrine\ORM\Query\Expr\Comparison;
15 14
 use Doctrine\ORM\QueryBuilder;
15
+use Doctrine\ORM\Query\Expr\Comparison;
16 16
 use Sylius\Component\Grid\Data\ExpressionBuilderInterface;
17 17
 
18 18
 /**
Please login to merge, or discard this patch.