Passed
Pull Request — master (#37)
by
unknown
04:35
created
Gateway/Http/Client/ClientMock.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
         $headers = $transfer->getHeaders();
97 97
 
98 98
         if (isset($headers['force_result'])) {
99
-            return (int)$headers['force_result'];
99
+            return (int) $headers['force_result'];
100 100
         }
101 101
 
102 102
         return $this->results[mt_rand(0, 1)];
Please login to merge, or discard this patch.
Gateway/Response/FraudHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
         $payment->setAdditionalInformation(
40 40
             self::FRAUD_MSG_LIST,
41
-            (array)$response[self::FRAUD_MSG_LIST]
41
+            (array) $response[self::FRAUD_MSG_LIST]
42 42
         );
43 43
 
44 44
         /** @var $payment Payment */
Please login to merge, or discard this patch.
Controller/Payment/ConfigV2.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             } elseif ($this->_request->isPost()) {
90 90
                 if (count($_POST)) {
91 91
                     foreach ($_POST as $config => $value) {
92
-                        if (isset($this->defaultConfigs[$config]) && $response['status']==null) {
92
+                        if (isset($this->defaultConfigs[$config]) && $response['status'] == null) {
93 93
                             $dbConnection->update(
94 94
                                 $tableName,
95 95
                                 array('value' => $value),
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
             }
108 108
 
109 109
             $formattedResult = array();
110
-            if ($response['status']==null) {
110
+            if ($response['status'] == null) {
111 111
                 $dbResult = $dbConnection->fetchAll("select * from $tableName");
112 112
                 foreach ($dbResult as $value) {
113 113
                     $formattedResult[$value['config']] = $value['value'];
Please login to merge, or discard this patch.