Completed
Push — master ( 8a2dc5...f526bf )
by Dmitry
14:24
created
src/merchants/coingate/CoinGateMerchant.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         return $this->gatewayFactory->build('CoinGate', [
26 26
             'apiKey'  => $this->credentials->getKey1(),
27
-           ]);
27
+            ]);
28 28
     }
29 29
 
30 30
     /**
Please login to merge, or discard this patch.
src/merchants/robokassa/RoboKassaTransactionFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
 
15 15
     public function getSuccessResponseText(ServerRequestInterface $request): ?string
16 16
     {
17
-        return 'OK' . $request->getParsedBody()['InvId']; // https://docs.robokassa.ru/#1250
17
+        return 'OK'.$request->getParsedBody()['InvId']; // https://docs.robokassa.ru/#1250
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/merchants/stripe/StripeMerchant.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                 throw new MerchantException('Response is not successful');
84 84
             }
85 85
         } catch (Exception $exception) {
86
-            throw new MerchantException('Failed to refund a card: ' . $exception->getMessage(), $exception->getCode(), $exception);
86
+            throw new MerchantException('Failed to refund a card: '.$exception->getMessage(), $exception->getCode(), $exception);
87 87
         }
88 88
     }
89 89
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
                 throw new MerchantException($response->getData()['message']);
100 100
             }
101 101
         } catch (Exception $exception) {
102
-            throw new MerchantException('Failed to remove a card: ' . $exception->getMessage(), $exception->getCode(), $exception);
102
+            throw new MerchantException('Failed to remove a card: '.$exception->getMessage(), $exception->getCode(), $exception);
103 103
         }
104 104
     }
105 105
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
                 'confirm' => true,
119 119
             ], $ignore3dSecure))->send();
120 120
         } catch (Exception $exception) {
121
-            throw new MerchantException('Failed to charge a card: ' . $exception->getMessage(), $exception->getCode(), $exception);
121
+            throw new MerchantException('Failed to charge a card: '.$exception->getMessage(), $exception->getCode(), $exception);
122 122
         }
123 123
 
124 124
         if ($response->isRedirect()) {
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
         }
170 170
 
171 171
         if (isset($response->getData()['error']['message'])) {
172
-            throw new MerchantException('Failed to charge card: ' . $response->getData()['error']['message']);
172
+            throw new MerchantException('Failed to charge card: '.$response->getData()['error']['message']);
173 173
         }
174 174
 
175 175
         throw new MerchantException('Failed to charge card');
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
                 'capture_method' => 'manual'
240 240
             ], $ignore3dSecure))->send();
241 241
         } catch (Exception $exception) {
242
-            throw new MerchantException('Failed to authorize a payment card: ' . $exception->getMessage(), $exception->getCode(), $exception);
242
+            throw new MerchantException('Failed to authorize a payment card: '.$exception->getMessage(), $exception->getCode(), $exception);
243 243
         }
244 244
 
245 245
         if ($response->isRedirect()) {
@@ -281,10 +281,10 @@  discard block
 block discarded – undo
281 281
             ])->send();
282 282
 
283 283
             if (!$response->isCancelled()) {
284
-                throw new MerchantException('Payment has not been canceled, actual status: ' . $response->getStatus());
284
+                throw new MerchantException('Payment has not been canceled, actual status: '.$response->getStatus());
285 285
             }
286 286
         } catch (Exception $exception) {
287
-            throw new MerchantException('Failed to cancel a card authorization: ' . $exception->getMessage(), $exception->getCode(), $exception);
287
+            throw new MerchantException('Failed to cancel a card authorization: '.$exception->getMessage(), $exception->getCode(), $exception);
288 288
         }
289 289
     }
290 290
 }
Please login to merge, or discard this patch.