Passed
Push — master ( ff22a2...0fc784 )
by payever
04:14
created
ExternalIntegration/Payments/Http/ResponseEntity/CreatePaymentResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function isValid()
59 59
     {
60 60
         return parent::isValid() &&
61
-            ($this->call   instanceof CallEntity   && $this->call->isValid()) &&
61
+            ($this->call   instanceof CallEntity && $this->call->isValid()) &&
62 62
             ($this->result instanceof ResultEntity && $this->result->isValid() || !$this->result)
63 63
         ;
64 64
     }
Please login to merge, or discard this patch.
lib/Payever/ExternalIntegration/Core/Engine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     {
44 44
         if (!self::$registered) {
45 45
             self::$registered = spl_autoload_register(
46
-                function ($className) {
46
+                function($className) {
47 47
                     if (strncmp(PEI_NAMESPACE, $className, strlen(PEI_NAMESPACE)) !== 0) {
48 48
                         return;
49 49
                     }
Please login to merge, or discard this patch.
ExternalIntegration/Products/Http/RequestEntity/ProductRequestEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
     public function getImagesUuid()
220 220
     {
221 221
         return array_map(
222
-            function ($imageName) {
222
+            function($imageName) {
223 223
                 return substr($imageName, 0, strpos($imageName, '.'));
224 224
             },
225 225
             $this->getImages()
Please login to merge, or discard this patch.
lib/Payever/ExternalIntegration/Core/Http/ResponseEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     public function isValid()
68 68
     {
69 69
         return parent::isValid() &&
70
-            (!$this->call   || ($this->call   instanceof CallEntity   && $this->call->isValid())) &&
70
+            (!$this->call || ($this->call   instanceof CallEntity && $this->call->isValid())) &&
71 71
             (
72 72
                 !$this->result || ($this->result instanceof ResultEntity && $this->result->isValid())
73 73
                 || is_array($this->result)
Please login to merge, or discard this patch.
lib/Payever/ExternalIntegration/Payments/PaymentsApiClient.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -101,13 +101,13 @@
 block discarded – undo
101 101
         $this->configuration->assertLoaded();
102 102
 
103 103
         $request = RequestBuilder::post($this->getCreatePaymentV2URL())
104
-                                 ->addRawHeader(
105
-                                     $this->getToken(OauthToken::SCOPE_CREATE_PAYMENT)->getAuthorizationString()
106
-                                 )
107
-                                 ->contentTypeIsJson()
108
-                                 ->setRequestEntity($createPaymentRequest)
109
-                                 ->setResponseEntity(new CreatePaymentResponse())
110
-                                 ->build();
104
+                                    ->addRawHeader(
105
+                                        $this->getToken(OauthToken::SCOPE_CREATE_PAYMENT)->getAuthorizationString()
106
+                                    )
107
+                                    ->contentTypeIsJson()
108
+                                    ->setRequestEntity($createPaymentRequest)
109
+                                    ->setResponseEntity(new CreatePaymentResponse())
110
+                                    ->build();
111 111
 
112 112
         return $this->executeRequest($request, OauthToken::SCOPE_CREATE_PAYMENT);
113 113
     }
Please login to merge, or discard this patch.
Payments/Http/ResponseEntity/CreatePaymentV2Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     public function isValid()
46 46
     {
47 47
         return parent::isValid() &&
48
-            ($this->call   instanceof CallEntity   && $this->call->isValid())
48
+            ($this->call   instanceof CallEntity && $this->call->isValid())
49 49
         ;
50 50
     }
51 51
 
Please login to merge, or discard this patch.
lib/Payever/ExternalIntegration/Payments/ThirdPartyPluginsApiClient.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,10 +47,10 @@
 block discarded – undo
47 47
 
48 48
         try {
49 49
             $request = RequestBuilder::post($this->getValidateTokenURL($businessUuid))
50
-                 ->addRawHeader(
51
-                     sprintf("Authorization: Bearer %s", $accessToken)
52
-                 )
53
-                 ->build();
50
+                    ->addRawHeader(
51
+                        sprintf("Authorization: Bearer %s", $accessToken)
52
+                    )
53
+                    ->build();
54 54
 
55 55
             $this->executeRequest($request);
56 56
 
Please login to merge, or discard this patch.