Completed
Branch master (9c9857)
by Florian
03:27
created
lib/Payone/Api/Service/Management/ManageMandate.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
             $response = $this->getMapperResponse()->map($responseRaw);
57 57
 
58 58
             $this->protocol($request, $response);
59
-        }
60
-        catch (Exception $e) {
59
+        } catch (Exception $e) {
61 60
             $this->protocolException($e, $request);
62 61
             throw $e;
63 62
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Management/GetFile.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/AddressCheck.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
             $response = $this->getMapperResponse()->map($responseRaw);
76 76
 
77 77
             $this->protocol($request, $response);
78
-        }
79
-        catch (Exception $e) {
78
+        } catch (Exception $e) {
80 79
             $this->protocolException($e, $request);
81 80
             throw $e;
82 81
         }
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
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
             $response = $this->getMapperResponse()->map($responseRaw);
74 74
 
75 75
             $this->protocol($request, $response);
76
-        }
77
-        catch (Exception $e) {
76
+        } catch (Exception $e) {
78 77
             $this->protocolException($e, $request);
79 78
             throw $e;
80 79
         }
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
@@ -74,8 +74,7 @@
 block discarded – undo
74 74
             $response = $this->getMapperResponse()->map($responseRaw);
75 75
 
76 76
             $this->protocol($request, $response);
77
-        }
78
-        catch (Exception $e) {
77
+        } catch (Exception $e) {
79 78
             $this->protocolException($e, $request);
80 79
             throw $e;
81 80
         }
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
@@ -74,8 +74,7 @@
 block discarded – undo
74 74
             $response = $this->getMapperResponse()->map($responseRaw);
75 75
 
76 76
             $this->protocol($request, $response);
77
-        }
78
-        catch (Exception $e) {
77
+        } catch (Exception $e) {
79 78
             $this->protocolException($e, $request);
80 79
             throw $e;
81 80
         }
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Verification/3dsCheck.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@
 block discarded – undo
81 81
             $response = $mapper->map($responseRaw);
82 82
 
83 83
             $this->protocol($request, $response);
84
-        }
85
-        catch (Exception $e) {
84
+        } catch (Exception $e) {
86 85
             $this->protocolException($e, $request);
87 86
             throw $e;
88 87
         }
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/Mapper/Response/UpdateAccess.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,11 +47,9 @@
 block discarded – undo
47 47
 
48 48
         if ($this->isOk()) {
49 49
             $response = new Payone_Api_Response_Management_UpdateAccess_Ok($params);
50
-        }
51
-        elseif ($this->isError()) {
50
+        } elseif ($this->isError()) {
52 51
             $response = new Payone_Api_Response_Error($params);
53
-        }
54
-        else {
52
+        } else {
55 53
             throw new Payone_Api_Exception_UnknownStatus();
56 54
         }
57 55
 
Please login to merge, or discard this patch.