Completed
Push — master ( 4258d4...fe7c76 )
by Florian
03:33
created
lib/Payone/Api/Mapper/Response/Vauthorization.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,11 +46,9 @@
 block discarded – undo
46 46
 
47 47
         if ($this->isApproved()) {
48 48
             $response = new Payone_Api_Response_Management_ManageMandate_Approved($params);
49
-        }
50
-        elseif ($this->isError()) {
49
+        } elseif ($this->isError()) {
51 50
             $response = new Payone_Api_Response_Error($params);
52
-        }
53
-        else {
51
+        } else {
54 52
             throw new Payone_Api_Exception_UnknownStatus();
55 53
         }
56 54
 
Please login to merge, or discard this patch.
lib/Payone/Api/Service/Management/ManageMandate.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/Management/GetFile.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
             $response->setRawResponse($adapter->getRawResponse());
74 74
 
75
-             $this->protocol($request, $response);
75
+                $this->protocol($request, $response);
76 76
         }
77 77
         catch (Exception $e) {
78 78
             $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
@@ -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/Management/UpdateAccess.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/Payment/CreateAccess.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/Payment/Debit.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/Payment/Capture.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/Payment/Refund.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/Payment/Preauthorize.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
             $requestParams = $this->getMapperRequest()->map($request);
68 68
 
69
-            if($request->isFrontendApiCall() === false) {
69
+            if ($request->isFrontendApiCall() === false) {
70 70
                 $responseRaw = $this->getAdapter()->request($requestParams);
71 71
             } else {
72 72
                 $responseRaw = $request->getFrontendApiResponse();
Please login to merge, or discard this 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.