Completed
Push — scrutinizer ( 763ce5 )
by Kamil
46:15
created
ProductBundle/spec/Validator/ProductVariantCombinationValidatorSpec.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\ProductBundle\Validator\Constraint\ProductVariantCombination;
17 17
 use Sylius\Bundle\ProductBundle\Validator\ProductVariantCombinationValidator;
18 18
 use Sylius\Component\Product\Checker\ProductVariantsParityCheckerInterface;
19
-use Sylius\Component\Product\Model\ProductOptionValueInterface;
20 19
 use Sylius\Component\Product\Model\ProductInterface;
21 20
 use Sylius\Component\Product\Model\ProductVariantInterface;
22 21
 use Symfony\Component\Validator\ConstraintValidator;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/spec/Controller/ParametersParserSpec.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 spec\Sylius\Bundle\ResourceBundle\Controller;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Sylius\Bundle\ResourceBundle\Controller\ParametersParser;
16 15
 use Sylius\Bundle\ResourceBundle\Controller\ParametersParserInterface;
17 16
 use Symfony\Component\DependencyInjection\ContainerInterface;
18 17
 use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/spec/Controller/ResourceFormFactorySpec.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\Bundle\ResourceBundle\Controller\ResourceFormFactory;
18 18
 use Sylius\Bundle\ResourceBundle\Controller\ResourceFormFactoryInterface;
19 19
 use Sylius\Component\Resource\Model\ResourceInterface;
20
-use Symfony\Component\Form\Extension\Core\Type\TextType;
21 20
 use Symfony\Component\Form\FormFactoryInterface;
22 21
 use Symfony\Component\Form\FormInterface;
23 22
 
Please login to merge, or discard this patch.
ThemeBundle/spec/Configuration/Test/TestThemeConfigurationManagerSpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,12 +11,12 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Bundle\ThemeBundle\Configuration\Test;
13 13
 
14
-use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory;
15
-use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper;
16 14
 use PhpSpec\ObjectBehavior;
17 15
 use Sylius\Bundle\ThemeBundle\Configuration\ConfigurationProcessorInterface;
18 16
 use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManager;
19 17
 use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface;
18
+use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory;
19
+use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper;
20 20
 
21 21
 /**
22 22
  * @author Kamil Kokot <[email protected]>
Please login to merge, or discard this patch.
Sylius/Bundle/UserBundle/spec/EventListener/UserLastLoginSubscriberSpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,14 +14,14 @@
 block discarded – undo
14 14
 use Doctrine\Common\Persistence\ObjectManager;
15 15
 use PhpSpec\ObjectBehavior;
16 16
 use Prophecy\Argument;
17
-use Sylius\Bundle\UserBundle\Event\UserEvent;
18 17
 use Sylius\Bundle\UserBundle\EventListener\UserLastLoginSubscriber;
18
+use Sylius\Bundle\UserBundle\Event\UserEvent;
19 19
 use Sylius\Bundle\UserBundle\UserEvents;
20
+use Sylius\Component\User\Model\UserInterface;
20 21
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
21 22
 use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
22 23
 use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
23 24
 use Symfony\Component\Security\Http\SecurityEvents;
24
-use Sylius\Component\User\Model\UserInterface;
25 25
 
26 26
 final class UserLastLoginSubscriberSpec extends ObjectBehavior
27 27
 {
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/spec/Comparator/AddressComparatorSpec.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 spec\Sylius\Component\Addressing\Comparator;
13 13
 
14
-use Sylius\Component\Addressing\Comparator\AddressComparator;
15 14
 use PhpSpec\ObjectBehavior;
15
+use Sylius\Component\Addressing\Comparator\AddressComparator;
16 16
 use Sylius\Component\Addressing\Comparator\AddressComparatorInterface;
17 17
 use Sylius\Component\Addressing\Model\AddressInterface;
18 18
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Cart/Context/ShopBasedCartContextSpec.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,18 +12,17 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Component\Core\Cart\Context;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Sylius\Component\Core\Model\AddressInterface;
16
-use Sylius\Component\Currency\Model\CurrencyInterface;
17
-use Sylius\Component\Order\Context\CartContextInterface;
18
-use Sylius\Component\Order\Context\CartNotFoundException;
19 15
 use Sylius\Component\Channel\Context\ChannelNotFoundException;
20 16
 use Sylius\Component\Core\Cart\Context\ShopBasedCartContext;
21 17
 use Sylius\Component\Core\Context\ShopperContextInterface;
18
+use Sylius\Component\Core\Model\AddressInterface;
22 19
 use Sylius\Component\Core\Model\ChannelInterface;
23 20
 use Sylius\Component\Core\Model\CustomerInterface;
24 21
 use Sylius\Component\Core\Model\OrderInterface;
25
-use Sylius\Component\Currency\Context\CurrencyNotFoundException;
22
+use Sylius\Component\Currency\Model\CurrencyInterface;
26 23
 use Sylius\Component\Locale\Context\LocaleNotFoundException;
24
+use Sylius\Component\Order\Context\CartContextInterface;
25
+use Sylius\Component\Order\Context\CartNotFoundException;
27 26
 
28 27
 /**
29 28
  * @author Arkadiusz Krakowiak <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Context/ShopperContextSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 use Sylius\Component\Core\Model\ChannelInterface;
19 19
 use Sylius\Component\Core\Model\CustomerInterface;
20 20
 use Sylius\Component\Currency\Context\CurrencyContextInterface;
21
-use Sylius\Component\Locale\Context\LocaleContextInterface;
22 21
 use Sylius\Component\Customer\Context\CustomerContextInterface;
22
+use Sylius\Component\Locale\Context\LocaleContextInterface;
23 23
 
24 24
 /**
25 25
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Currency/SessionBasedCurrencyStorageSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Sylius\Component\Channel\Model\ChannelInterface;
7
-use Sylius\Component\Core\Currency\SessionBasedCurrencyStorage;
8 7
 use Sylius\Component\Core\Currency\CurrencyStorageInterface;
8
+use Sylius\Component\Core\Currency\SessionBasedCurrencyStorage;
9 9
 use Sylius\Component\Currency\Context\CurrencyNotFoundException;
10 10
 use Symfony\Component\HttpFoundation\Session\SessionInterface;
11 11
 
Please login to merge, or discard this patch.