Completed
Push — master ( b4619a...ab6ee6 )
by Kamil
12:06 queued 06:35
created
src/Sylius/Behat/Context/Api/Admin/ManagingShipmentsContext.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,10 +150,10 @@
 block discarded – undo
150 150
     public function iShouldSeeTheShippingDateAs(OrderInterface $order, string $dateTime): void
151 151
     {
152 152
         Assert::eq(
153
-             new \DateTime($this->responseChecker->getValue($this->client->show((string) $order->getShipments()->first()->getId()), 'shippedAt')),
154
-             new \DateTime($dateTime),
155
-             'Shipment was shipped in different date'
156
-         );
153
+                new \DateTime($this->responseChecker->getValue($this->client->show((string) $order->getShipments()->first()->getId()), 'shippedAt')),
154
+                new \DateTime($dateTime),
155
+                'Shipment was shipped in different date'
156
+            );
157 157
     }
158 158
 
159 159
     /**
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 use Sylius\Component\Core\Model\OrderInterface;
24 24
 use Sylius\Component\Core\Model\ProductInterface;
25 25
 use Sylius\Component\Customer\Model\CustomerInterface;
26
-use Sylius\Component\Shipping\Model\ShipmentUnitInterface;
27 26
 use Sylius\Component\Shipping\ShipmentTransitions;
28 27
 use Webmozart\Assert\Assert;
29 28
 
Please login to merge, or discard this patch.
Bundle/ApiBundle/spec/DataProvider/TaxonCollectionDataProviderSpec.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -19,11 +19,8 @@
 block discarded – undo
19 19
 use Sylius\Component\Core\Model\ChannelInterface;
20 20
 use Sylius\Component\Core\Model\ProductInterface;
21 21
 use Sylius\Component\Core\Model\TaxonInterface;
22
-use Sylius\Component\Customer\Context\CustomerContextInterface;
23 22
 use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface;
24 23
 use Sylius\Component\User\Model\UserInterface;
25
-use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
26
-use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
27 24
 
28 25
 final class TaxonCollectionDataProviderSpec extends ObjectBehavior
29 26
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ApiBundle/Context/UserContextInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
 
18 18
 interface UserContextInterface
19 19
 {
20
-   public function getUser(): ?UserInterface;
20
+    public function getUser(): ?UserInterface;
21 21
 }
Please login to merge, or discard this patch.