Completed
Push — master ( 93b855...faa581 )
by Cesar
21s queued 10s
created
src/Controller/Paypal/PaymentsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function payments(string $action)
32 32
     {
33
-        return $this->render('paypal/payments/'. $action .'.html.twig');
33
+        return $this->render('paypal/payments/' . $action . '.html.twig');
34 34
     }
35 35
 
36 36
     /**
Please login to merge, or discard this patch.
src/Service/AdyenService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     public function getPaymentMethods()
96 96
     {
97 97
         $params = [
98
-            "allowedPaymentMethods" => ["paypal","card"],
98
+            "allowedPaymentMethods" => ["paypal", "card"],
99 99
             "merchantAccount" => $this->merchantAccount,
100 100
             "countryCode" => $this->settingsService->getSetting('settings-customer-country'),
101 101
             "shopperLocale" => $this->settingsService->getSetting('settings-customer-locale'),
Please login to merge, or discard this patch.
src/Service/Paypal/BillingAgreementService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             $statusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
38 38
             curl_close($ch);
39 39
         } catch (Exception $e) {
40
-            $this->logger->error('Error on PayPal::'.$url.' = ' . $e->getMessage());
40
+            $this->logger->error('Error on PayPal::' . $url . ' = ' . $e->getMessage());
41 41
             return null;
42 42
         }
43 43
         return ([
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         return $this->paypalApiCall(
81 81
             $requestBody,
82 82
             'https://api.sandbox.paypal.com/v1/payments/payment',
83
-            ['PAYPAL-CLIENT-METADATA-ID: '.$fraudnetSession]
83
+            ['PAYPAL-CLIENT-METADATA-ID: ' . $fraudnetSession]
84 84
         );
85 85
     }
86 86
 
Please login to merge, or discard this patch.
src/Service/Hyperwallet/UserService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Service\Hyperwallet;
4 4
 
5 5
 use Exception;
6
-use DateTime;
7 6
 use Hyperwallet\Exception\HyperwalletApiException;
8 7
 use Hyperwallet\Model\AuthenticationToken;
9 8
 use Hyperwallet\Model\User;
Please login to merge, or discard this patch.