Completed
Push — unused-definitions ( d9908f )
by Kamil
18:33
created
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@  discard block
 block discarded – undo
15 15
 use Behat\Gherkin\Node\TableNode;
16 16
 use Behat\Mink\Element\NodeElement;
17 17
 use Doctrine\Common\Persistence\ObjectManager;
18
+use Sylius\Behat\Service\SharedStorageInterface;
18 19
 use Sylius\Component\Attribute\Factory\AttributeFactoryInterface;
19 20
 use Sylius\Component\Core\Formatter\StringInflector;
20 21
 use Sylius\Component\Core\Model\ChannelInterface;
@@ -23,9 +24,7 @@  discard block
 block discarded – undo
23 24
 use Sylius\Component\Core\Model\ProductInterface;
24 25
 use Sylius\Component\Core\Model\ProductTranslationInterface;
25 26
 use Sylius\Component\Core\Model\ProductVariantInterface;
26
-use Sylius\Component\Core\Pricing\Calculators;
27 27
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
28
-use Sylius\Behat\Service\SharedStorageInterface;
29 28
 use Sylius\Component\Core\Uploader\ImageUploaderInterface;
30 29
 use Sylius\Component\Product\Factory\ProductFactoryInterface;
31 30
 use Sylius\Component\Product\Generator\SlugGeneratorInterface;
@@ -34,11 +33,11 @@  discard block
 block discarded – undo
34 33
 use Sylius\Component\Product\Model\ProductOptionInterface;
35 34
 use Sylius\Component\Product\Model\ProductOptionValueInterface;
36 35
 use Sylius\Component\Product\Model\ProductVariantTranslationInterface;
36
+use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
37 37
 use Sylius\Component\Resource\Factory\FactoryInterface;
38
-use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
39 38
 use Sylius\Component\Resource\Model\TranslationInterface;
39
+use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
40 40
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
41
-use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
42 41
 use Symfony\Component\HttpFoundation\File\UploadedFile;
43 42
 use Webmozart\Assert\Assert;
44 43
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ShippingContext.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
 use Sylius\Behat\Service\SharedStorageInterface;
17 17
 use Sylius\Bundle\CoreBundle\Fixture\Factory\ShippingMethodExampleFactory;
18 18
 use Sylius\Component\Addressing\Model\Scope;
19
-use Sylius\Component\Core\Model\Scope as CoreScope;
20 19
 use Sylius\Component\Addressing\Model\ZoneInterface;
21 20
 use Sylius\Component\Core\Model\ChannelInterface;
21
+use Sylius\Component\Core\Model\Scope as CoreScope;
22 22
 use Sylius\Component\Core\Model\ShippingMethodInterface;
23 23
 use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
24 24
 use Sylius\Component\Resource\Factory\FactoryInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductsContext.php 1 patch
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,20 +16,18 @@
 block discarded – undo
16 16
 use Sylius\Behat\NotificationType;
17 17
 use Sylius\Behat\Page\Admin\Crud\CreatePageInterface;
18 18
 use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface;
19
+use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
19 20
 use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface;
20 21
 use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface;
21 22
 use Sylius\Behat\Page\Admin\Product\IndexPageInterface;
22 23
 use Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface;
23 24
 use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface;
24 25
 use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface;
25
-use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
26 26
 use Sylius\Behat\Page\SymfonyPageInterface;
27 27
 use Sylius\Behat\Service\NotificationCheckerInterface;
28 28
 use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface;
29
-use Sylius\Component\Core\Model\ChannelInterface;
30
-use Sylius\Component\Core\Model\ProductInterface;
31 29
 use Sylius\Behat\Service\SharedStorageInterface;
32
-use Sylius\Component\Currency\Model\CurrencyInterface;
30
+use Sylius\Component\Core\Model\ProductInterface;
33 31
 use Sylius\Component\Product\Model\ProductAssociationTypeInterface;
34 32
 use Sylius\Component\Taxonomy\Model\TaxonInterface;
35 33
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductVariantsContext.php 1 patch
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,11 +19,9 @@
 block discarded – undo
19 19
 use Sylius\Behat\Page\Admin\ProductVariant\UpdatePageInterface;
20 20
 use Sylius\Behat\Service\NotificationCheckerInterface;
21 21
 use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface;
22
-use Sylius\Component\Core\Model\ChannelInterface;
22
+use Sylius\Behat\Service\SharedStorageInterface;
23 23
 use Sylius\Component\Core\Model\ProductInterface;
24 24
 use Sylius\Component\Core\Model\ProductVariantInterface;
25
-use Sylius\Behat\Service\SharedStorageInterface;
26
-use Sylius\Component\Currency\Model\CurrencyInterface;
27 25
 use Sylius\Component\Product\Resolver\DefaultProductVariantResolver;
28 26
 use Webmozart\Assert\Assert;
29 27
 
Please login to merge, or discard this patch.
Component/Core/Resolver/ZoneAndChannelBasedShippingMethodsResolver.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\Resolver;
13 13
 
14 14
 use Sylius\Component\Addressing\Matcher\ZoneMatcherInterface;
15
-use Sylius\Component\Core\Model\Scope;
16 15
 use Sylius\Component\Core\Model\OrderInterface;
16
+use Sylius\Component\Core\Model\Scope;
17 17
 use Sylius\Component\Core\Model\ShipmentInterface;
18
+use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
18 19
 use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface;
19 20
 use Sylius\Component\Shipping\Model\ShippingSubjectInterface;
20
-use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
21 21
 use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface;
22 22
 use Webmozart\Assert\Assert;
23 23
 
Please login to merge, or discard this patch.
Core/spec/Resolver/ZoneAndChannelBasedShippingMethodsResolverSpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,16 +14,16 @@
 block discarded – undo
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Addressing\Matcher\ZoneMatcherInterface;
16 16
 use Sylius\Component\Addressing\Model\ZoneInterface;
17
-use Sylius\Component\Core\Model\Scope;
18 17
 use Sylius\Component\Core\Model\AddressInterface;
19 18
 use Sylius\Component\Core\Model\ChannelInterface;
20 19
 use Sylius\Component\Core\Model\OrderInterface;
20
+use Sylius\Component\Core\Model\Scope;
21 21
 use Sylius\Component\Core\Model\ShipmentInterface;
22 22
 use Sylius\Component\Core\Model\ShippingMethodInterface;
23
+use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
23 24
 use Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver;
24 25
 use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface;
25 26
 use Sylius\Component\Shipping\Model\ShippingSubjectInterface;
26
-use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
27 27
 use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface;
28 28
 
29 29
 /**
Please login to merge, or discard this patch.