Completed
Push — snake-case-tests ( 55729f )
by Kamil
87:29 queued 51:35
created
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/Component/Core/Model/ImageInterface.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\Component\Core\Model;
13 13
 
14
-use Sylius\Component\Resource\Model\CodeAwareInterface;
15 14
 use Sylius\Component\Resource\Model\ResourceInterface;
16 15
 
17 16
 /**
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.
tests/Controller/ProductVariantApiTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Tests\Controller;
13 13
 
14 14
 use Lakion\ApiTestCase\JsonApiTestCase;
15
-use Sylius\Bundle\ApiBundle\Form\Type\ProductVariantType;
16 15
 use Sylius\Component\Core\Model\ProductInterface;
17 16
 use Sylius\Component\Core\Model\ProductVariantInterface;
18 17
 use Symfony\Component\HttpFoundation\Response;
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.
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.