Completed
Push — master ( 4f34c8...2960e8 )
by Kamil
23:03 queued 15:59
created
Sylius/Bundle/ShopBundle/spec/EventListener/OrderIntegrityCheckerSpec.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -21,9 +21,6 @@
 block discarded – undo
21 21
 use Sylius\Component\Core\Model\OrderInterface;
22 22
 use Sylius\Component\Core\Model\PromotionInterface;
23 23
 use Sylius\Component\Order\Processor\OrderProcessorInterface;
24
-use Sylius\Component\Promotion\Action\PromotionApplicatorInterface;
25
-use Sylius\Component\Promotion\Checker\Eligibility\PromotionEligibilityCheckerInterface;
26
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
27 24
 use Symfony\Component\HttpFoundation\RedirectResponse;
28 25
 use Symfony\Component\Routing\RouterInterface;
29 26
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/OrderContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -126,6 +126,7 @@
 block discarded – undo
126 126
      * @Given a customer :customer placed an order :orderNumber
127 127
      * @Given the customer :customer has already placed an order :orderNumber
128 128
      * @Given there is a customer :customer that placed an order :orderNumber in channel :channel
129
+     * @param string $orderNumber
129 130
      */
130 131
     public function thereIsCustomerThatPlacedOrder(CustomerInterface $customer, $orderNumber = null, $channel = null)
131 132
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Payment/IndexPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -17,13 +17,22 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function chooseStateToFilter(string $paymentState): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function completePaymentOfOrderWithNumber(string $orderNumber): void;
23 29
 
24 30
     public function getPaymentStateByOrderNumber(string $orderNumber): string;
25 31
 
26 32
     public function isPaymentWithOrderNumberInPosition(string $orderNumber, int $position): bool;
27 33
 
34
+    /**
35
+     * @return void
36
+     */
28 37
     public function showOrderPageForNthPayment(int $position): void;
29 38
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Shipment/IndexPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -17,13 +17,22 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function chooseStateToFilter(string $shipmentState): void;
21 24
 
22 25
     public function isShipmentWithOrderNumberInPosition(string $orderNumber, int $position): bool;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function shipShipmentOfOrderWithNumber(string $orderNumber): void;
25 31
 
26 32
     public function getShipmentStatusByOrderNumber(string $orderNumber): string;
27 33
 
34
+    /**
35
+     * @return void
36
+     */
28 37
     public function showOrderPageForNthShipment(int $position): void;
29 38
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Generator/UploadedImagePathGeneratorSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
     function it_generates_random_hashed_path_for_the_image(ImageInterface $image): void
29 29
     {
30
-        $file = new UploadedFile(__DIR__.'/ford.jpg', 'ford.jpg', null, null, true);
30
+        $file = new UploadedFile(__DIR__ . '/ford.jpg', 'ford.jpg', null, null, true);
31 31
 
32 32
         $image->getFile()->willReturn($file);
33 33
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingPaymentsContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
     /**
154 154
      * @Then /^I should see payment for (the "[^"]+" order) as (\d+)(?:|st|nd|rd|th) in the list$/
155 155
      */
156
-    public function iShouldSeePaymentForTheOrderInTheList(string $orderNumber,int $position): void
156
+    public function iShouldSeePaymentForTheOrderInTheList(string $orderNumber, int $position): void
157 157
     {
158 158
         Assert::true($this->indexPage->isPaymentWithOrderNumberInPosition($orderNumber, $position));
159 159
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/spec/Service/Generator/UploadedImagePathGeneratorSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
     function it_generates_random_hashed_path_keeping_the_image_name(ImageInterface $image): void
29 29
     {
30
-        $file = new UploadedFile(__DIR__.'/ford.jpg', 'ford.jpg', null, null, true);
30
+        $file = new UploadedFile(__DIR__ . '/ford.jpg', 'ford.jpg', null, null, true);
31 31
 
32 32
         $image->getFile()->willReturn($file);
33 33
 
Please login to merge, or discard this patch.