Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
src/Sylius/Behat/Page/Admin/PromotionCoupon/CreatePageInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,21 +20,25 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param int $limit
23
+     * @return void
23 24
      */
24 25
     public function setCustomerUsageLimit($limit);
25 26
 
26 27
     /**
27 28
      * @param \DateTimeInterface $date
29
+     * @return void
28 30
      */
29 31
     public function setExpiresAt(\DateTimeInterface $date);
30 32
 
31 33
     /**
32 34
      * @param string $code
35
+     * @return void
33 36
      */
34 37
     public function specifyCode($code);
35 38
 
36 39
     /**
37 40
      * @param int $limit
41
+     * @return void
38 42
      */
39 43
     public function setUsageLimit($limit);
40 44
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\PromotionCoupon;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/GeneratePageInterface.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -39,25 +39,32 @@
 block discarded – undo
39 39
      */
40 40
     public function checkGenerationValidation($message);
41 41
 
42
+    /**
43
+     * @return void
44
+     */
42 45
     public function generate();
43 46
 
44 47
     /**
45 48
      * @param int $amount
49
+     * @return void
46 50
      */
47 51
     public function specifyAmount($amount);
48 52
 
49 53
     /**
50 54
      * @param int $codeLength
55
+     * @return void
51 56
      */
52 57
     public function specifyCodeLength($codeLength);
53 58
 
54 59
     /**
55 60
      * @param \DateTimeInterface $date
61
+     * @return void
56 62
      */
57 63
     public function setExpiresAt(\DateTimeInterface $date);
58 64
 
59 65
     /**
60 66
      * @param int $limit
67
+     * @return void
61 68
      */
62 69
     public function setUsageLimit($limit);
63 70
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\PromotionCoupon;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/UpdatePageInterface.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,16 +25,19 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param int $limit
28
+     * @return void
28 29
      */
29 30
     public function setCustomerUsageLimit($limit);
30 31
 
31 32
     /**
32 33
      * @param \DateTimeInterface $date
34
+     * @return void
33 35
      */
34 36
     public function setExpiresAt(\DateTimeInterface $date);
35 37
 
36 38
     /**
37 39
      * @param int $limit
40
+     * @return void
38 41
      */
39 42
     public function setUsageLimit($limit);
40 43
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\PromotionCoupon;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Updater/UnpaidOrdersStateUpdaterSpec.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
         StateMachineInterface $secondOrderStateMachine
51 51
     ) {
52 52
         $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([
53
-           $firstOrder,
54
-           $secondOrder
53
+            $firstOrder,
54
+            $secondOrder
55 55
         ]);
56 56
 
57 57
         $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace spec\Sylius\Component\Core\Updater;
15 15
 
Please login to merge, or discard this patch.
tests/Controller/ProvinceApiTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Tests\Controller;
15 15
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
49 49
         $countryData = $this->loadFixturesFromFile('resources/countries.yml');
50 50
 
51
-        $this->client->request('GET', '/api/v1/countries/'.$countryData['country_BE']->getCode().'/provinces/'.$countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType);
51
+        $this->client->request('GET', '/api/v1/countries/' . $countryData['country_BE']->getCode() . '/provinces/' . $countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType);
52 52
 
53 53
         $response = $this->client->getResponse();
54 54
         $this->assertResponse($response, 'province/show_response', Response::HTTP_OK);
@@ -62,12 +62,12 @@  discard block
 block discarded – undo
62 62
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
63 63
         $countryData = $this->loadFixturesFromFile('resources/countries.yml');
64 64
 
65
-        $this->client->request('DELETE', '/api/v1/countries/'.$countryData['country_BE']->getCode().'/provinces/'.$countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType);
65
+        $this->client->request('DELETE', '/api/v1/countries/' . $countryData['country_BE']->getCode() . '/provinces/' . $countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType);
66 66
 
67 67
         $response = $this->client->getResponse();
68 68
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
69 69
 
70
-        $this->client->request('GET', '/api/v1/countries/'.$countryData['country_BE']->getCode().'/provinces/'.$countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType);
70
+        $this->client->request('GET', '/api/v1/countries/' . $countryData['country_BE']->getCode() . '/provinces/' . $countryData['province_BE_limburg']->getCode(), [], [], static::$authorizedHeaderWithContentType);
71 71
 
72 72
         $response = $this->client->getResponse();
73 73
         $this->assertResponse($response, 'error/not_found_response', Response::HTTP_NOT_FOUND);
Please login to merge, or discard this patch.
app/AppCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
15 15
 
Please login to merge, or discard this patch.
app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 use Sylius\Bundle\CoreBundle\Application\Kernel;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/ProductReview/IndexPageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Shop\ProductReview;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Order/ShowPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Shop\Order;
15 15
 
Please login to merge, or discard this patch.