Passed
Push — master ( 5addfc...e8c424 )
by Manuel
59s queued 11s
created
lib/SaferpayJson/Request/Container/PendingNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      * @var array<string>|null
11 11
      * @SerializedName("MerchantEmails")
12 12
      */
13
-    private $merchantEmails = [];
13
+    private $merchantEmails = [ ];
14 14
 
15 15
     /**
16 16
      * @var string|null
Please login to merge, or discard this patch.
lib/SaferpayJson/Response/ErrorResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * @SerializedName("ErrorDetail")
46 46
      * @Type("array")
47 47
      */
48
-    private $errorDetail = [];
48
+    private $errorDetail = [ ];
49 49
 
50 50
     /**
51 51
      * @var string|null
Please login to merge, or discard this patch.
example/SecureCardData/example-alias-insert.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 // -----------------------------
59 59
 // Step 5:
60 60
 // Redirect to the payment page
61
-echo 'Redirect to: ' . $response->getRedirect()->getRedirectUrl() ."<br>\n";
61
+echo 'Redirect to: ' . $response->getRedirect()->getRedirectUrl() . "<br>\n";
62 62
 
63 63
 // -----------------------------
64 64
 // Step 6:
Please login to merge, or discard this patch.
example/SecureCardData/example-alias-insert-assert.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,4 +42,4 @@
 block discarded – undo
42 42
     die ($e->getErrorResponse()->getErrorMessage());
43 43
 }
44 44
 
45
-echo 'The insert has been successful! Alias id: ' . $response->getAlias()->getId()."<br>\n";
45
+echo 'The insert has been successful! Alias id: ' . $response->getAlias()->getId() . "<br>\n";
Please login to merge, or discard this patch.
example/SecureCardData/example-alias-update.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,4 +52,4 @@
 block discarded – undo
52 52
     die ($e->getErrorResponse()->getErrorMessage());
53 53
 }
54 54
 
55
-echo 'The update has been successful! Alias id: ' . $response->getAlias()->getId()."<br>\n";
55
+echo 'The update has been successful! Alias id: ' . $response->getAlias()->getId() . "<br>\n";
Please login to merge, or discard this patch.
example/PaymentPage/example-assert.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     die ($e->getErrorResponse()->getErrorMessage());
43 43
 }
44 44
 
45
-echo 'The transaction has been successful! Transaction id: ' . $response->getTransaction()->getId()."\n";
45
+echo 'The transaction has been successful! Transaction id: ' . $response->getTransaction()->getId() . "\n";
46 46
 
47 47
 // -----------------------------
48 48
 // Step 4:
Please login to merge, or discard this patch.
example/PaymentPage/example-initialize.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 // -----------------------------
67 67
 // Step 5:
68 68
 // Redirect to the payment page
69
-echo 'Redirect to: ' . $response->getRedirectUrl() ."<br>\n";
69
+echo 'Redirect to: ' . $response->getRedirectUrl() . "<br>\n";
70 70
 
71 71
 // -----------------------------
72 72
 // Step 6:
Please login to merge, or discard this patch.
example/Transaction/example-authorize-referenced.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 );
26 26
 
27 27
 $amount = new Container\Amount(
28
-    5000,  // amount in cents
28
+    5000, // amount in cents
29 29
     'CHF'
30 30
 );
31 31
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     $response->getTransaction()->getStatus(),
62 62
     $response->getPaymentMeans()->getBrand()->getName(),
63 63
     $response->getPaymentMeans()->getDisplayText()
64
-). "\n";
64
+) . "\n";
65 65
 
66 66
 // Recurring payment transactions still need to be captured.
67 67
 // see: example-capture.php
Please login to merge, or discard this patch.
example/Transaction/example-capture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,6 +46,6 @@
 block discarded – undo
46 46
     die ($e->getErrorResponse()->getErrorMessage());
47 47
 }
48 48
 
49
-echo 'The transaction has successfully been captured! Capture-Id: ' . $response->getCaptureId()."\n";
49
+echo 'The transaction has successfully been captured! Capture-Id: ' . $response->getCaptureId() . "\n";
50 50
 
51 51
 // You have now fully completed a successful payment :)
52 52
\ No newline at end of file
Please login to merge, or discard this patch.