Passed
Push — dev ( 4eaaa0...d517fa )
by Oleksandr
22:11 queued 16:44
created
src/SprykerEco/Zed/Episerver/EpiserverDependencyProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function addFacadeMoney(Container $container): Container
44 44
     {
45
-        $container[static::FACADE_MONEY] = function (Container $container) {
45
+        $container[static::FACADE_MONEY] = function(Container $container) {
46 46
             return new EpiserverToMoneyFacadeBridge($container->getLocator()->money()->facade());
47 47
         };
48 48
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function addFacadeLocale(Container $container): Container
58 58
     {
59
-        $container[static::FACADE_LOCALE] = function (Container $container) {
59
+        $container[static::FACADE_LOCALE] = function(Container $container) {
60 60
             return new EpiserverToLocaleFacadeBridge($container->getLocator()->locale()->facade());
61 61
         };
62 62
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     protected function addFacadeSales(Container $container): Container
72 72
     {
73
-        $container[static::FACADE_SALES] = function (Container $container) {
73
+        $container[static::FACADE_SALES] = function(Container $container) {
74 74
             return new EpiserverToSalesFacadeBridge($container->getLocator()->sales()->facade());
75 75
         };
76 76
 
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Episerver/Business/Mapper/Order/AbstractOrderMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
             static::KEY_SPRYKER_ID => $orderTransfer->getFkCustomer(),
82 82
             static::KEY_CUSTOMER_SHOP_LOCALE => $locale,
83 83
             static::KEY_CUSTOMER_SHOP_URL => $this->config->getHostYves(),
84
-            static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves() . static::URL_LOGIN,
84
+            static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves().static::URL_LOGIN,
85 85
             static::KEY_CUSTOMER_RESET_LINK => '',
86 86
             static::KEY_LANGUAGE => $locale,
87 87
             static::KEY_ORDER_NUMBER => $orderTransfer->getOrderReference(),
@@ -175,6 +175,6 @@  discard block
 block discarded – undo
175 175
      */
176 176
     protected function getLocaleShortName(string $localeName): string
177 177
     {
178
-        return (string)array_search($localeName, Store::getInstance()->getLocales());
178
+        return (string) array_search($localeName, Store::getInstance()->getLocales());
179 179
     }
180 180
 }
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Episerver/Business/Mapper/Customer/CustomerMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $payload = [
40 40
             static::KEY_CUSTOMER_SHOP_LOCALE => $this->getLocale($customerTransfer),
41 41
             static::KEY_CUSTOMER_SHOP_URL => $this->config->getHostYves(),
42
-            static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves() . static::URL_LOGIN,
42
+            static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves().static::URL_LOGIN,
43 43
         ];
44 44
 
45 45
         if ($customerTransfer !== null) {
Please login to merge, or discard this patch.
Zed/Episerver/Business/Mapper/Customer/CustomerNewsletterMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
         $payload = [
46 46
             static::KEY_CUSTOMER_SHOP_URL => $this->config->getHostYves(),
47
-            static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves() . static::URL_LOGIN,
47
+            static::KEY_CUSTOMER_LOGIN_URL => $this->config->getHostYves().static::URL_LOGIN,
48 48
             static::KEY_CUSTOMER_SHOP_LOCALE => $this->getLocale($customerTransfer),
49 49
         ];
50 50
 
Please login to merge, or discard this patch.
Zed/Episerver/Business/Mapper/Customer/AbstractCustomerMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,6 +90,6 @@
 block discarded – undo
90 90
      */
91 91
     protected function getLocaleShortName(string $localeName): string
92 92
     {
93
-        return (string)array_search($localeName, Store::getInstance()->getLocales());
93
+        return (string) array_search($localeName, Store::getInstance()->getLocales());
94 94
     }
95 95
 }
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Episerver/EpiserverConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function getRequestTimeout()
31 31
     {
32
-        return (int)$this->get(EpiserverConstants::REQUEST_TIMEOUT);
32
+        return (int) $this->get(EpiserverConstants::REQUEST_TIMEOUT);
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.