Completed
Push — component-bundle ( 0f1f3e )
by Kamil
35:06
created
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.
src/Sylius/Bundle/ResourceBundle/spec/Controller/ResourceControllerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 use Sylius\Bundle\ResourceBundle\Controller\RequestConfigurationFactoryInterface;
26 26
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
27 27
 use Sylius\Bundle\ResourceBundle\Controller\ResourceFormFactoryInterface;
28
-use Sylius\Bundle\ResourceBundle\Controller\ResourcesCollectionProviderInterface;
29 28
 use Sylius\Bundle\ResourceBundle\Controller\ResourceUpdateHandlerInterface;
29
+use Sylius\Bundle\ResourceBundle\Controller\ResourcesCollectionProviderInterface;
30 30
 use Sylius\Bundle\ResourceBundle\Controller\SingleResourceProviderInterface;
31 31
 use Sylius\Bundle\ResourceBundle\Controller\StateMachineInterface;
32 32
 use Sylius\Bundle\ResourceBundle\Controller\ViewHandlerInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductVariantInterface.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 use Sylius\Component\Resource\Model\VersionedInterface;
18 18
 use Sylius\Component\Shipping\Model\ShippableInterface;
19 19
 use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
20
-use Sylius\Component\Taxation\Model\TaxableInterface;
21 20
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
21
+use Sylius\Component\Taxation\Model\TaxableInterface;
22 22
 
23 23
 /**
24 24
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/Factory/ProductExampleFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption;
15 15
 use Sylius\Component\Attribute\AttributeType\SelectAttributeType;
16 16
 use Sylius\Component\Core\Formatter\StringInflector;
17
-use Sylius\Component\Core\Model\ChannelInterface;
18 17
 use Sylius\Component\Core\Model\ChannelPricingInterface;
19 18
 use Sylius\Component\Core\Model\ImageInterface;
20 19
 use Sylius\Component\Core\Model\ProductInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ChannelPricingInterface.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Sylius\Component\Core\Model;
4 4
 
5
-use Sylius\Component\Channel\Model\ChannelAwareInterface;
6 5
 use Sylius\Component\Resource\Model\ResourceInterface;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/SetupCommand.php 1 patch
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,19 +12,15 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\CoreBundle\Command;
13 13
 
14 14
 use Sylius\Component\Core\Model\AdminUserInterface;
15
-use Sylius\Component\Core\Model\ChannelInterface;
16
-use Sylius\Component\Currency\Model\CurrencyInterface;
17 15
 use Sylius\Component\Locale\Model\LocaleInterface;
18
-use Sylius\Component\User\Model\UserInterface;
19 16
 use Symfony\Component\Console\Helper\QuestionHelper;
20 17
 use Symfony\Component\Console\Input\InputInterface;
21 18
 use Symfony\Component\Console\Output\OutputInterface;
22 19
 use Symfony\Component\Console\Question\Question;
23 20
 use Symfony\Component\Console\Style\SymfonyStyle;
24
-use Symfony\Component\Intl\Intl;
21
+use Symfony\Component\Validator\ConstraintViolationListInterface;
25 22
 use Symfony\Component\Validator\Constraints\Email;
26 23
 use Symfony\Component\Validator\Constraints\NotBlank;
27
-use Symfony\Component\Validator\ConstraintViolationListInterface;
28 24
 use Webmozart\Assert\Assert;
29 25
 
30 26
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ApiBundle/DependencyInjection/SyliusApiExtension.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,15 +11,12 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ApiBundle\DependencyInjection;
13 13
 
14
-use Sylius\Bundle\ApiBundle\Controller\TokenController;
15 14
 use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension;
16 15
 use Symfony\Component\Config\FileLocator;
17 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
18
-use Symfony\Component\DependencyInjection\Definition;
19 17
 use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
20 18
 use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
21 19
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
22
-use Symfony\Component\DependencyInjection\Reference;
23 20
 
24 21
 /**
25 22
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.