Completed
Push — scalar-types/user ( 04f6b1...6e06c6 )
by Kamil
57:21 queued 32:30
created
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.
src/Sylius/Behat/Page/Shop/Contact/ContactPage.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\Contact;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/HomePage.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;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/ProfileUpdatePage.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\Account;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/Order/ShowPage.php 1 patch
Spacing   +2 added lines, -2 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\Behat\Page\Shop\Account\Order;
15 15
 
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
         return
200 200
             (stripos($elementText, $customerName) !== false) &&
201 201
             (stripos($elementText, $street) !== false) &&
202
-            (stripos($elementText, $city.', '.$postcode) !== false) &&
202
+            (stripos($elementText, $city . ', ' . $postcode) !== false) &&
203 203
             (stripos($elementText, $countryName) !== false)
204 204
         ;
205 205
     }
Please login to merge, or discard this patch.