Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
src/Sylius/Behat/Page/Admin/Order/ShowPage.php 1 patch
Spacing   +3 added lines, -3 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\Admin\Order;
15 15
 
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
             (stripos($elementText, $customerName) !== false) &&
492 492
             (stripos($elementText, $street) !== false) &&
493 493
             (stripos($elementText, $city) !== false) &&
494
-            (stripos($elementText, $countryName.' '.$postcode) !== false)
494
+            (stripos($elementText, $countryName . ' ' . $postcode) !== false)
495 495
         ;
496 496
     }
497 497
 
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
             ['item' => $itemName]
509 509
         );
510 510
 
511
-        return $rows[0]->find('css', '.'.$property)->getText();
511
+        return $rows[0]->find('css', '.' . $property)->getText();
512 512
     }
513 513
 
514 514
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/UpdatePage.php 1 patch
Spacing   +7 added lines, -7 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\Admin\Order;
15 15
 
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
      */
48 48
     private function specifyAddress(AddressInterface $address, $addressType)
49 49
     {
50
-        $this->specifyElementValue($addressType.'_first_name', $address->getFirstName());
51
-        $this->specifyElementValue($addressType.'_last_name', $address->getLastName());
52
-        $this->specifyElementValue($addressType.'_street', $address->getStreet());
53
-        $this->specifyElementValue($addressType.'_city', $address->getCity());
54
-        $this->specifyElementValue($addressType.'_postcode', $address->getPostcode());
50
+        $this->specifyElementValue($addressType . '_first_name', $address->getFirstName());
51
+        $this->specifyElementValue($addressType . '_last_name', $address->getLastName());
52
+        $this->specifyElementValue($addressType . '_street', $address->getStreet());
53
+        $this->specifyElementValue($addressType . '_city', $address->getCity());
54
+        $this->specifyElementValue($addressType . '_postcode', $address->getPostcode());
55 55
 
56 56
         $this->chooseCountry($address->getCountryCode(), $addressType);
57 57
     }
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     private function chooseCountry($country, $addressType)
118 118
     {
119
-        $this->getElement($addressType.'_country')->selectOption((null !== $country) ? $country : 'Select');
119
+        $this->getElement($addressType . '_country')->selectOption((null !== $country) ? $country : 'Select');
120 120
     }
121 121
 
122 122
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/TaxCategory/CreatePage.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\Admin\TaxCategory;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/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\Admin\Promotion;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/CreatePage.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\Admin\Taxon;
15 15
 
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
         $imageForm = $this->getLastImageElement();
123 123
         $imageForm->fillField('Type', $type);
124
-        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path);
124
+        $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path);
125 125
     }
126 126
 
127 127
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/CreateForParentPageInterface.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\Admin\Taxon;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Country/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\Admin\Country;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Country/UpdatePage.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\Behat\Page\Admin\Country;
15 15
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     {
44 44
         $provinces = $this->getElement('provinces');
45 45
 
46
-        return $provinces->has('css', '[value = "'.$provinceName.'"]');
46
+        return $provinces->has('css', '[value = "' . $provinceName . '"]');
47 47
     }
48 48
 
49 49
     /**
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     {
54 54
         $provinces = $this->getElement('provinces');
55 55
 
56
-        return $provinces->has('css', '[value = "'.$provinceCode.'"]');
56
+        return $provinces->has('css', '[value = "' . $provinceCode . '"]');
57 57
     }
58 58
 
59 59
     /**
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         if ($this->isThereProvince($provinceName)) {
121 121
             $provinces = $this->getElement('provinces');
122 122
 
123
-            $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="'.$provinceName.'"]')->getParent();
123
+            $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="' . $provinceName . '"]')->getParent();
124 124
             $item->fillField('Name', '');
125 125
         }
126 126
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductOption/CreatePage.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\Admin\ProductOption;
15 15
 
Please login to merge, or discard this patch.