Passed
Push — master ( 8e8b8d...4b4977 )
by mahdi
03:02
created
src/Drivers/Behpardakht/Behpardakht.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
             $context = stream_context_create(
57 57
                 [
58 58
                 'ssl' => array(
59
-                  'verify_peer'       => false,
60
-                  'verify_peer_name'  => false
59
+                    'verify_peer'       => false,
60
+                    'verify_peer_name'  => false
61 61
                 )]
62 62
             );
63 63
 
@@ -130,8 +130,8 @@  discard block
 block discarded – undo
130 130
             $context = stream_context_create(
131 131
                 [
132 132
                 'ssl' => array(
133
-                  'verify_peer'       => false,
134
-                  'verify_peer_name'  => false
133
+                    'verify_peer'       => false,
134
+                    'verify_peer_name'  => false
135 135
                 )]
136 136
             );
137 137
 
Please login to merge, or discard this patch.
src/Drivers/Fanavacard/Fanavacard.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -134,15 +134,15 @@  discard block
 block discarded – undo
134 134
     {
135 135
         $receipt = new Receipt('fanavacard', $referenceId);
136 136
         $receipt->detail([
137
-                             'ResNum'=>Request::input('ResNum'),
138
-                             'RefNum'=>Request::input('RefNum'),
139
-                             'token'=>Request::input('token'),
140
-                             'CustomerRefNum'=>Request::input('CustomerRefNum'),
141
-                             'CardMaskPan'=>Request::input('CardMaskPan'),
142
-                             'transactionAmount'=>Request::input('transactionAmount'),
143
-                             'emailAddress'=>Request::input('emailAddress'),
144
-                             'mobileNo'=>Request::input('mobileNo'),
145
-                         ]);
137
+                                'ResNum'=>Request::input('ResNum'),
138
+                                'RefNum'=>Request::input('RefNum'),
139
+                                'token'=>Request::input('token'),
140
+                                'CustomerRefNum'=>Request::input('CustomerRefNum'),
141
+                                'CardMaskPan'=>Request::input('CardMaskPan'),
142
+                                'transactionAmount'=>Request::input('transactionAmount'),
143
+                                'emailAddress'=>Request::input('emailAddress'),
144
+                                'mobileNo'=>Request::input('mobileNo'),
145
+                            ]);
146 146
         return $receipt;
147 147
     }
148 148
 
@@ -184,11 +184,11 @@  discard block
 block discarded – undo
184 184
     private function httpClientInit(): void
185 185
     {
186 186
         $this->client = new Client([
187
-                                       'curl'=>[CURLOPT_SSL_CIPHER_LIST=>'DEFAULT@SECLEVEL=1',],
188
-                                       'verify' => false,
189
-                                       'base_uri' => $this->settings->baseUri,
190
-                                       'headers' => ['Content-Type' => 'application/json',],
191
-                                   ]);
187
+                                        'curl'=>[CURLOPT_SSL_CIPHER_LIST=>'DEFAULT@SECLEVEL=1',],
188
+                                        'verify' => false,
189
+                                        'base_uri' => $this->settings->baseUri,
190
+                                        'headers' => ['Content-Type' => 'application/json',],
191
+                                    ]);
192 192
     }
193 193
 
194 194
     private function getWsContext(): array
Please login to merge, or discard this patch.
config/payment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,8 +123,8 @@
 block discarded – undo
123 123
             'apiPaymentUrl' => 'https://napi.jibit.ir/ppg/v3',
124 124
             'apiKey' => '',
125 125
             'apiSecret' => '',
126
-           // You can change the token storage path in Laravel like this
127
-           // 'tokenStoragePath' => function_exists('storage_path') ? storage_path('jibit/') : 'jibit/'
126
+            // You can change the token storage path in Laravel like this
127
+            // 'tokenStoragePath' => function_exists('storage_path') ? storage_path('jibit/') : 'jibit/'
128 128
             'tokenStoragePath' => 'jibit/',
129 129
             'callbackUrl' => 'http://yoursite.com/path/to',
130 130
             'description' => 'payment using jibit',
Please login to merge, or discard this patch.