Completed
Push — 1.4 ( 9771fb...a6f5ef )
by Kamil
09:23 queued 04:21
created
src/Sylius/Bundle/ReviewBundle/Form/Type/ReviewType.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
15 15
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
16
-use Symfony\Component\Form\Extension\Core\Type\TextareaType;
17 16
 use Symfony\Component\Form\Extension\Core\Type\TextType;
17
+use Symfony\Component\Form\Extension\Core\Type\TextareaType;
18 18
 use Symfony\Component\Form\FormBuilderInterface;
19 19
 use Symfony\Component\OptionsResolver\OptionsResolver;
20 20
 use Symfony\Component\Validator\Constraints\Valid;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductsContext.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 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\Service\NotificationCheckerInterface;
27 27
 use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface;
28 28
 use Sylius\Behat\Service\SharedStorageInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/InventoryBundle/Twig/InventoryExtension.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@
 block discarded – undo
39 39
     public function getFunctions(): array
40 40
     {
41 41
         return [
42
-             new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
43
-             new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
42
+                new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
43
+                new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
44 44
         ];
45 45
     }
46 46
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Collector/SyliusCollector.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 namespace Sylius\Bundle\CoreBundle\Collector;
15 15
 
16 16
 use Sylius\Bundle\CoreBundle\Application\Kernel;
17
-use Sylius\Component\Channel\Context\ChannelNotFoundException;
18 17
 use Sylius\Component\Core\Context\ShopperContextInterface;
19 18
 use Sylius\Component\Core\Model\ChannelInterface;
20 19
 use Sylius\Component\Currency\Context\CurrencyNotFoundException;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Updater/UnpaidOrdersStateUpdaterSpec.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
         StateMachineInterface $secondOrderStateMachine
47 47
     ): void {
48 48
         $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([
49
-           $firstOrder,
50
-           $secondOrder,
49
+            $firstOrder,
50
+            $secondOrder,
51 51
         ]);
52 52
 
53 53
         $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine);
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/Updater/ReviewableRatingUpdaterInterface.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 namespace Sylius\Bundle\ReviewBundle\Updater;
15 15
 
16
-use Sylius\Component\Review\Model\ReviewableInterface;
17 16
 use Sylius\Component\Review\Model\ReviewInterface;
17
+use Sylius\Component\Review\Model\ReviewableInterface;
18 18
 
19 19
 interface ReviewableRatingUpdaterInterface
20 20
 {
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductVariantInterface.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 use Sylius\Component\Resource\Model\VersionedInterface;
20 20
 use Sylius\Component\Shipping\Model\ShippableInterface;
21 21
 use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
22
-use Sylius\Component\Taxation\Model\TaxableInterface;
23 22
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
23
+use Sylius\Component\Taxation\Model\TaxableInterface;
24 24
 
25 25
 interface ProductVariantInterface extends
26 26
     BaseVariantInterface,
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ShippingMethodInterface.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\Component\Addressing\Model\ZoneInterface;
17 17
 use Sylius\Component\Channel\Model\ChannelsAwareInterface;
18 18
 use Sylius\Component\Shipping\Model\ShippingMethodInterface as BaseShippingMethodInterface;
19
-use Sylius\Component\Taxation\Model\TaxableInterface;
20 19
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
20
+use Sylius\Component\Taxation\Model\TaxableInterface;
21 21
 
22 22
 interface ShippingMethodInterface extends BaseShippingMethodInterface, TaxableInterface, ChannelsAwareInterface
23 23
 {
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductInterface.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 use Sylius\Component\Channel\Model\ChannelsAwareInterface;
18 18
 use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface;
19 19
 use Sylius\Component\Resource\Model\TranslationInterface;
20
-use Sylius\Component\Review\Model\ReviewableInterface;
21 20
 use Sylius\Component\Review\Model\ReviewInterface;
21
+use Sylius\Component\Review\Model\ReviewableInterface;
22 22
 
23 23
 interface ProductInterface extends
24 24
     BaseProductInterface,
Please login to merge, or discard this patch.