Completed
Push — datetime-interface ( 366682...04fb4d )
by Kamil
46:21 queued 21:00
created
src/Sylius/Bundle/CurrencyBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\CurrencyBundle\DependencyInjection;
13 13
 
14
-use Sylius\Bundle\CurrencyBundle\Doctrine\ORM\ExchangeRateRepository;
15 14
 use Sylius\Bundle\CurrencyBundle\Form\Type\CurrencyType;
16 15
 use Sylius\Bundle\CurrencyBundle\Form\Type\ExchangeRateType;
17 16
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,12 +12,11 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\ReviewBundle\DependencyInjection;
13 13
 
14 14
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
15
-use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository;
16 15
 use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
17 16
 use Sylius\Bundle\ReviewBundle\Form\Type\ReviewType;
18 17
 use Sylius\Component\Resource\Factory\Factory;
19
-use Sylius\Component\Review\Model\ReviewerInterface;
20 18
 use Sylius\Component\Review\Model\ReviewInterface;
19
+use Sylius\Component\Review\Model\ReviewerInterface;
21 20
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
22 21
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
23 22
 use Symfony\Component\Config\Definition\ConfigurationInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Checkout/CheckoutRedirectListener.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,11 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\CoreBundle\Checkout;
13 13
 
14
-use Sylius\Bundle\ResourceBundle\Controller\RedirectHandlerInterface;
15
-use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration;
16 14
 use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent;
17 15
 use Sylius\Component\Core\Model\OrderInterface;
18
-use Sylius\Component\Resource\Model\ResourceInterface;
19 16
 use Symfony\Component\HttpFoundation\RedirectResponse;
20 17
 use Symfony\Component\HttpFoundation\RequestMatcherInterface;
21 18
 use Symfony\Component\HttpFoundation\RequestStack;
Please login to merge, or discard this patch.
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.
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.