Completed
Push — master ( 7c0075...645752 )
by Kamil
18:52
created
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Unused Use Statements   +2 added lines, -2 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,16 +24,15 @@  discard block
 block discarded – undo
23 24
 use Sylius\Component\Core\Model\ProductTranslationInterface;
24 25
 use Sylius\Component\Core\Model\ProductVariantInterface;
25 26
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
26
-use Sylius\Behat\Service\SharedStorageInterface;
27 27
 use Sylius\Component\Core\Uploader\ImageUploaderInterface;
28 28
 use Sylius\Component\Product\Factory\ProductFactoryInterface;
29 29
 use Sylius\Component\Product\Model\ProductAttributeInterface;
30 30
 use Sylius\Component\Product\Model\ProductAttributeValueInterface;
31 31
 use Sylius\Component\Product\Model\ProductOptionInterface;
32 32
 use Sylius\Component\Product\Model\ProductOptionValueInterface;
33
+use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
33 34
 use Sylius\Component\Resource\Factory\FactoryInterface;
34 35
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
35
-use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
36 36
 use Symfony\Component\HttpFoundation\File\UploadedFile;
37 37
 
38 38
 /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPerTaxonPageInterface.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\Behat\Page\Admin\Product;
13 13
 
14 14
 use Sylius\Behat\Page\Admin\Crud\IndexPageInterface as CrudIndexPageInterface;
15
-use Sylius\Component\Core\Model\ProductInterface;
16 15
 
17 16
 /**
18 17
  * @author Anna Walasek <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Controller/ProductTaxonController.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\CoreBundle\Controller;
13 13
 
14
-use Sylius\Bundle\ResourceBundle\Controller\RedirectHandlerInterface;
15 14
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
16 15
 use Sylius\Component\Core\Model\ProductTaxonInterface;
17 16
 use Sylius\Component\Resource\ResourceActions;
Please login to merge, or discard this patch.
DataTransformer/ProductTaxonCollectionToTaxonCollectionTransformerSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,9 @@
 block discarded – undo
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16 16
 use PhpSpec\ObjectBehavior;
17
-use Prophecy\Argument;
18 17
 use Sylius\Bundle\CoreBundle\Form\DataTransformer\ProductTaxonCollectionToTaxonCollectionTransformer;
19 18
 use Sylius\Component\Core\Model\ProductTaxonInterface;
20 19
 use Sylius\Component\Core\Model\TaxonInterface;
21
-use Sylius\Component\Product\Model\ProductInterface;
22 20
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
23 21
 use Sylius\Component\Resource\Factory\FactoryInterface;
24 22
 use Symfony\Component\Form\DataTransformerInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/DependencyInjection/Configuration.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
                                         ->scalarNode('factory')->defaultValue(Factory::class)->end()
99 99
                                     ->end()
100 100
                                 ->end()
101
-                             ->end()
101
+                                ->end()
102 102
                         ->end()
103 103
                     ->end()
104 104
                 ->end()
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Product.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
     public function filterProductTaxonsByTaxon(TaxonInterface $taxon)
159 159
     {
160 160
         return $this->productTaxons->filter(function ($productTaxon) use ($taxon) {
161
-             return $taxon === $productTaxon->getTaxon();
161
+                return $taxon === $productTaxon->getTaxon();
162 162
         });
163 163
     }
164 164
 
Please login to merge, or discard this patch.