Completed
Push — taxon-slug-generator-revisited ( fa32c0...2293b4 )
by Kamil
23:42
created
Bundle/PayumBundle/Action/Paypal/ExpressCheckout/ConvertPaymentAction.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -57,33 +57,33 @@
 block discarded – undo
57 57
 
58 58
         $m = 0;
59 59
         foreach ($order->getItems() as $item) {
60
-            $details['L_PAYMENTREQUEST_0_NAME'.$m] = $item->getVariant()->getProduct()->getName();
61
-            $details['L_PAYMENTREQUEST_0_AMT'.$m] = $this->formatPrice($item->getDiscountedUnitPrice());
62
-            $details['L_PAYMENTREQUEST_0_QTY'.$m] = $item->getQuantity();
60
+            $details['L_PAYMENTREQUEST_0_NAME' . $m] = $item->getVariant()->getProduct()->getName();
61
+            $details['L_PAYMENTREQUEST_0_AMT' . $m] = $this->formatPrice($item->getDiscountedUnitPrice());
62
+            $details['L_PAYMENTREQUEST_0_QTY' . $m] = $item->getQuantity();
63 63
 
64 64
             ++$m;
65 65
         }
66 66
 
67 67
         if (0 !== $taxTotal = $order->getAdjustmentsTotalRecursively(AdjustmentInterface::TAX_ADJUSTMENT)) {
68
-            $details['L_PAYMENTREQUEST_0_NAME'.$m] = 'Tax Total';
69
-            $details['L_PAYMENTREQUEST_0_AMT'.$m] = $this->formatPrice($taxTotal);
70
-            $details['L_PAYMENTREQUEST_0_QTY'.$m] = 1;
68
+            $details['L_PAYMENTREQUEST_0_NAME' . $m] = 'Tax Total';
69
+            $details['L_PAYMENTREQUEST_0_AMT' . $m] = $this->formatPrice($taxTotal);
70
+            $details['L_PAYMENTREQUEST_0_QTY' . $m] = 1;
71 71
 
72 72
             ++$m;
73 73
         }
74 74
 
75 75
         if (0 !== $promotionTotal = $order->getOrderPromotionTotal()) {
76
-            $details['L_PAYMENTREQUEST_0_NAME'.$m] = 'Discount';
77
-            $details['L_PAYMENTREQUEST_0_AMT'.$m] = $this->formatPrice($promotionTotal);
78
-            $details['L_PAYMENTREQUEST_0_QTY'.$m] = 1;
76
+            $details['L_PAYMENTREQUEST_0_NAME' . $m] = 'Discount';
77
+            $details['L_PAYMENTREQUEST_0_AMT' . $m] = $this->formatPrice($promotionTotal);
78
+            $details['L_PAYMENTREQUEST_0_QTY' . $m] = 1;
79 79
 
80 80
             ++$m;
81 81
         }
82 82
 
83 83
         if (0 !== $shippingTotal = $order->getShippingTotal()) {
84
-            $details['L_PAYMENTREQUEST_0_NAME'.$m] = 'Shipping Total';
85
-            $details['L_PAYMENTREQUEST_0_AMT'.$m] = $this->formatPrice($shippingTotal);
86
-            $details['L_PAYMENTREQUEST_0_QTY'.$m] = 1;
84
+            $details['L_PAYMENTREQUEST_0_NAME' . $m] = 'Shipping Total';
85
+            $details['L_PAYMENTREQUEST_0_AMT' . $m] = $this->formatPrice($shippingTotal);
86
+            $details['L_PAYMENTREQUEST_0_QTY' . $m] = 1;
87 87
         }
88 88
 
89 89
         $request->setResult($details);
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/Factory/AdminUserExampleFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
                 return $this->faker->email;
97 97
             })
98 98
             ->setDefault('username', function (Options $options) {
99
-                return $this->faker->firstName.' '.$this->faker->lastName;
99
+                return $this->faker->firstName . ' ' . $this->faker->lastName;
100 100
             })
101 101
             ->setDefault('enabled', true)
102 102
             ->setAllowedTypes('enabled', 'bool')
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Updater/UnpaidOrdersStateUpdater.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
     public function cancel()
55 55
     {
56
-        $expiredUnpaidOrders = $this->orderRepository->findOrdersUnpaidSince(new \DateTime('-'.$this->expirationPeriod));
56
+        $expiredUnpaidOrders = $this->orderRepository->findOrdersUnpaidSince(new \DateTime('-' . $this->expirationPeriod));
57 57
         foreach ($expiredUnpaidOrders as $expiredUnpaidOrder) {
58 58
             $this->cancelOrder($expiredUnpaidOrder);
59 59
         }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/Order/ShowPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
         return
198 198
             (stripos($elementText, $customerName) !== false) &&
199 199
             (stripos($elementText, $street) !== false) &&
200
-            (stripos($elementText, $city.', '.$postcode) !== false) &&
200
+            (stripos($elementText, $city . ', ' . $postcode) !== false) &&
201 201
             (stripos($elementText, $countryName) !== false)
202 202
         ;
203 203
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/MoneyBundle/test/app/AppKernel.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
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EventListener/ShopUserLogoutHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
     public function onLogoutSuccess(Request $request)
57 57
     {
58 58
         $channel = $this->channelContext->getChannel();
59
-        $this->session->remove('_sylius.cart.'.$channel->getCode());
59
+        $this->session->remove('_sylius.cart.' . $channel->getCode());
60 60
 
61 61
         return parent::onLogoutSuccess($request);
62 62
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/PaymentBundle/test/app/AppKernel.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
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/test/app/AppKernel.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
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/TaxationBundle/test/app/AppKernel.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
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.