Completed
Push — remove-content-bundle ( 201341 )
by Kamil
34:43
created
src/Sylius/Behat/Page/SymfonyPage.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Behat\Mink\Element\NodeElement;
15 15
 use Behat\Mink\Session;
16
-use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
17
-use Symfony\Component\Routing\RequestContext;
18 16
 use Symfony\Component\Routing\RouterInterface;
19 17
 
20 18
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
 use Sylius\Bundle\AddressingBundle\Form\Type\ZoneType;
23 23
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
24 24
 use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType;
25
-use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
26 25
 use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType;
26
+use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
27 27
 use Sylius\Component\Addressing\Model\Address;
28 28
 use Sylius\Component\Addressing\Model\AddressInterface;
29 29
 use Sylius\Component\Addressing\Model\Country;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use Sylius\Bundle\ReviewBundle\Doctrine\ORM\ReviewRepository;
17 17
 use Sylius\Bundle\ReviewBundle\Form\Type\ReviewType;
18 18
 use Sylius\Component\Resource\Factory\Factory;
19
-use Sylius\Component\Review\Model\ReviewerInterface;
20 19
 use Sylius\Component\Review\Model\ReviewInterface;
20
+use Sylius\Component\Review\Model\ReviewerInterface;
21 21
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
22 22
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
23 23
 use Symfony\Component\Config\Definition\ConfigurationInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/SettingsBundle/Controller/SettingsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Sylius\Bundle\SettingsBundle\Manager\SettingsManagerInterface;
17 17
 use Symfony\Component\HttpFoundation\Request;
18 18
 use Symfony\Component\HttpFoundation\Response;
19
-use Symfony\Component\OptionsResolver\Exception\MissingOptionsException;
20 19
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
21 20
 use Symfony\Component\Translation\TranslatorInterface;
22 21
 use Symfony\Component\Validator\Exception\ValidatorException;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Resolver/DefaultShippingMethodResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\Resolver;
13 13
 
14 14
 use Sylius\Component\Core\Model\ChannelInterface;
15
+use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
15 16
 use Sylius\Component\Shipping\Exception\UnresolvedDefaultShippingMethodException;
16 17
 use Sylius\Component\Shipping\Model\ShipmentInterface;
17
-use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
18 18
 use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface;
19 19
 use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface;
20 20
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/spec/Resolver/TaxRateResolverSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Resource\Repository\RepositoryInterface;
16
-use Sylius\Component\Taxation\Model\TaxableInterface;
17 16
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
18 17
 use Sylius\Component\Taxation\Model\TaxRateInterface;
18
+use Sylius\Component\Taxation\Model\TaxableInterface;
19 19
 use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.
Bundle/GridBundle/DependencyInjection/Compiler/RegisterDriversPass.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $registry = $container->findDefinition('sylius.registry.grid_driver');
33 33
 
34 34
         foreach ($container->findTaggedServiceIds('sylius.grid_driver') as $id => $attributes) {
35
-            if (!isset($attributes[0]['alias']))  {
35
+            if (!isset($attributes[0]['alias'])) {
36 36
                 throw new \InvalidArgumentException('Tagged grid drivers needs to have `alias` attribute.');
37 37
             }
38 38
 
Please login to merge, or discard this patch.
Bundle/GridBundle/DependencyInjection/Compiler/RegisterFiltersPass.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $registry = $container->getDefinition('sylius.registry.grid_filter');
33 33
 
34 34
         foreach ($container->findTaggedServiceIds('sylius.grid_filter') as $id => $attributes) {
35
-            if (!isset($attributes[0]['type']))  {
35
+            if (!isset($attributes[0]['type'])) {
36 36
                 throw new \InvalidArgumentException('Tagged grid filters needs to have `type` attribute.');
37 37
             }
38 38
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/PaymentBundle/Form/Type/PaymentMethodChoiceType.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,7 @@
 block discarded – undo
102 102
      */
103 103
     private function createChoiceList()
104 104
     {
105
-        return function (Options $options) 
106
-        {
105
+        return function (Options $options) {
107 106
             if (isset($options['subject'])) {
108 107
                 $resolvedMethods = $this->paymentMethodsResolver->getSupportedMethods($options['subject']);
109 108
             } else {
Please login to merge, or discard this patch.