Test Setup Failed
Push — master ( 0a1290...d1bdd9 )
by payever
01:13
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.
Payever/ExternalIntegration/Payments/Base/PaymentsApiClientInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
      * @link https://docs.payever.org/shopsystems/api/getting-started/api/order-management/cancel Documentation
159 159
      *
160 160
      * @param string $paymentId Payment ID
161
-	 * @param float $amount Specify the cancel/partial cancel amount. If no amount is set, the whole amount will be cancelled.
161
+     * @param float $amount Specify the cancel/partial cancel amount. If no amount is set, the whole amount will be cancelled.
162 162
      *
163 163
      * @return ResponseInterface
164 164
      */
Please login to merge, or discard this patch.
lib/Payever/ExternalIntegration/Payments/PaymentsApiClient.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -318,13 +318,13 @@
 block discarded – undo
318 318
         $this->configuration->assertLoaded();
319 319
 
320 320
         $request = RequestBuilder::post($this->getCancelPaymentURL($paymentId))
321
-			->setParams([
321
+            ->setParams([
322 322
                 'amount' => $amount,
323 323
             ])
324 324
             ->addRawHeader(
325 325
                 $this->getToken(OauthToken::SCOPE_PAYMENT_ACTIONS)->getAuthorizationString()
326 326
             )
327
-	        ->setRequestEntity(new CancelPaymentRequest())
327
+            ->setRequestEntity(new CancelPaymentRequest())
328 328
             ->setResponseEntity(new CancelPaymentResponse())
329 329
             ->build();
330 330
 
Please login to merge, or discard this patch.