Completed
Push — master ( 4b710d...0ce398 )
by Florian
03:51
created
lib/Payone/Api/Service/Management/ManageMandate.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
             $response = $this->getMapperResponse()->map($responseRaw);
84 84
 
85 85
             $this->protocol($request, $response);
86
-        }
87
-        catch (Exception $e) {
86
+        } catch (Exception $e) {
88 87
             $this->protocolException($e, $request);
89 88
             throw $e;
90 89
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Management/UpdateAccess.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
             $response = $this->getMapperResponse()->map($responseRaw);
84 84
 
85 85
             $this->protocol($request, $response);
86
-        }
87
-        catch (Exception $e) {
86
+        } catch (Exception $e) {
88 87
             $this->protocolException($e, $request);
89 88
             throw $e;
90 89
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Management/GetInvoice.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
             $response->setRawResponse($adapter->getRawResponse());
55 55
 
56
-             $this->protocol($request, $response);
56
+                $this->protocol($request, $response);
57 57
         }
58 58
         catch (Exception $e) {
59 59
             $this->protocolException($e, $request);
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
             $response->setRawResponse($adapter->getRawResponse());
55 55
 
56 56
              $this->protocol($request, $response);
57
-        }
58
-        catch (Exception $e) {
57
+        } catch (Exception $e) {
59 58
             $this->protocolException($e, $request);
60 59
             throw $e;
61 60
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Verification/CreditCardCheck.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
             $response = $this->getMapperResponse()->map($responseRaw);
84 84
 
85 85
             $this->protocol($request, $response);
86
-        }
87
-        catch (Exception $e) {
86
+        } catch (Exception $e) {
88 87
             $this->protocolException($e, $request);
89 88
             throw $e;
90 89
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Verification/AddressCheck.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
             $response = $this->getMapperResponse()->map($responseRaw);
84 84
 
85 85
             $this->protocol($request, $response);
86
-        }
87
-        catch (Exception $e) {
86
+        } catch (Exception $e) {
88 87
             $this->protocolException($e, $request);
89 88
             throw $e;
90 89
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Verification/BankAccountCheck.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
             $response = $this->getMapperResponse()->map($responseRaw);
84 84
 
85 85
             $this->protocol($request, $response);
86
-        }
87
-        catch (Exception $e) {
86
+        } catch (Exception $e) {
88 87
             $this->protocolException($e, $request);
89 88
             throw $e;
90 89
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Verification/Consumerscore.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
             $response = $this->getMapperResponse()->map($responseRaw);
84 84
 
85 85
             $this->protocol($request, $response);
86
-        }
87
-        catch (Exception $e) {
86
+        } catch (Exception $e) {
88 87
             $this->protocolException($e, $request);
89 88
             throw $e;
90 89
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Adapter/Http/Curl.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,11 +61,9 @@
 block discarded – undo
61 61
 
62 62
         if (curl_getinfo($curl, CURLINFO_HTTP_CODE) != 200) {
63 63
             throw new Payone_Api_Exception_InvalidResponse();
64
-        }
65
-        elseif (curl_error($curl)) {
64
+        } elseif (curl_error($curl)) {
66 65
             $response[] = "errormessage=" . curl_errno($curl) . ": " . curl_error($curl);
67
-        }
68
-        else {
66
+        } else {
69 67
             $response = explode("\n", $result);
70 68
         }
71 69
 
Please login to merge, or discard this patch.
lib/Payone/Api/Response/Parameter/Abstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     {
54 54
         $result = array();
55 55
         foreach ($this as $key => $data) {
56
-            if (!is_array($data) and ! is_object($data)) {
56
+            if (!is_array($data) and !is_object($data)) {
57 57
                 $result[$key] = $data;
58 58
             } else if ($data instanceof Payone_Api_Response_Parameter_Interface) {
59 59
                 /**
Please login to merge, or discard this patch.