Completed
Push — scalar-types/registry ( 38a5a0 )
by Kamil
75:54 queued 51:59
created
src/Sylius/Behat/Context/Setup/TaxationContext.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\Context\Setup;
15 15
 
@@ -231,6 +231,6 @@  discard block
 block discarded – undo
231 231
      */
232 232
     private function getCodeFromNameAndZoneCode($taxRateName, $zoneCode)
233 233
     {
234
-        return $this->getCodeFromName($taxRateName).'_'.strtolower($zoneCode);
234
+        return $this->getCodeFromName($taxRateName) . '_' . strtolower($zoneCode);
235 235
     }
236 236
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductContext.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\Context\Setup;
15 15
 
@@ -750,7 +750,7 @@  discard block
 block discarded – undo
750 750
 
751 751
         /** @var ImageInterface $productImage */
752 752
         $productImage = $this->productImageFactory->createNew();
753
-        $productImage->setFile(new UploadedFile($filesPath.$imagePath, basename($imagePath)));
753
+        $productImage->setFile(new UploadedFile($filesPath . $imagePath, basename($imagePath)));
754 754
         $productImage->setType($imageType);
755 755
         $this->imageUploader->upload($productImage);
756 756
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/PaypalContext.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\Context\Ui;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/LoginContext.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\Context\Ui\Shop;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/Checkout/CheckoutThankYouContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Sylius\Behat\Context\Ui\Shop\Checkout;
6 6
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/Checkout/CheckoutShippingContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Sylius\Behat\Context\Ui\Shop\Checkout;
6 6
 
@@ -198,6 +198,6 @@  discard block
 block discarded – undo
198 198
      */
199 199
     public function iShouldBeCheckingOutAs($email)
200 200
     {
201
-        Assert::same($this->selectShippingPage->getPurchaserEmail(), 'Checking out as '.$email.'.');
201
+        Assert::same($this->selectShippingPage->getPurchaserEmail(), 'Checking out as ' . $email . '.');
202 202
     }
203 203
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/Checkout/CheckoutCompleteContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Sylius\Behat\Context\Ui\Shop\Checkout;
6 6
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function iShouldSeeThisShippingAddressAsShippingAddress($fullName)
110 110
     {
111
-        $address = $this->sharedStorage->get('shipping_address_'.StringInflector::nameToLowercaseCode($fullName));
111
+        $address = $this->sharedStorage->get('shipping_address_' . StringInflector::nameToLowercaseCode($fullName));
112 112
 
113 113
         Assert::true($this->completePage->hasShippingAddress($address));
114 114
     }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function iShouldSeeThisBillingAddressAsBillingAddress($fullName)
120 120
     {
121
-        $address = $this->sharedStorage->get('billing_address_'.StringInflector::nameToLowercaseCode($fullName));
121
+        $address = $this->sharedStorage->get('billing_address_' . StringInflector::nameToLowercaseCode($fullName));
122 122
 
123 123
         Assert::true($this->completePage->hasBillingAddress($address));
124 124
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingZonesContext.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\Context\Ui\Admin;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingExchangeRatesContext.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\Context\Ui\Admin;
15 15
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      */
120 120
     public function iChangeRatioTo($ratio)
121 121
     {
122
-        $this->updatePage->changeRatio((float)$ratio);
122
+        $this->updatePage->changeRatio((float) $ratio);
123 123
     }
124 124
 
125 125
     /**
Please login to merge, or discard this patch.