Passed
Push — bugfix/supesc-213-is-capture-a... ( b2b98a )
by Roman
08:15
created
Business/Payment/Transaction/Handler/AuthorizeTransactionHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 class AuthorizeTransactionHandler implements AuthorizeTransactionHandlerInterface
18 18
 {
19 19
     public const ERROR_MESSAGE_AUTHORIZE_TRANSACTION_NOT_SUPPORTED =
20
-        'Attempt to call authorize transaction on payment method \'%s\' ' .
20
+        'Attempt to call authorize transaction on payment method \'%s\' '.
21 21
         'that does not support it';
22 22
     /**
23 23
      * @var \SprykerEco\Zed\Heidelpay\Business\Payment\Transaction\AuthorizeTransactionInterface
Please login to merge, or discard this patch.
Heidelpay/Business/Payment/Transaction/Handler/DebitTransactionHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 class DebitTransactionHandler implements DebitTransactionHandlerInterface
18 18
 {
19 19
     public const ERROR_MESSAGE_DEBIT_TRANSACTION_NOT_SUPPORTED =
20
-        'Attempt to call debit transaction on payment method \'%s\' ' .
20
+        'Attempt to call debit transaction on payment method \'%s\' '.
21 21
         'that does not support it';
22 22
 
23 23
     /**
Please login to merge, or discard this patch.
Business/Payment/Transaction/Handler/ExternalResponseTransactionHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 class ExternalResponseTransactionHandler implements ExternalResponseTransactionHandlerInterface
20 20
 {
21 21
     public const ERROR_MESSAGE_EXTERNAL_RESPONSE_TRANSACTION_NOT_SUPPORTED =
22
-        'Attempt to call external response transaction on payment method \'%s\' ' .
22
+        'Attempt to call external response transaction on payment method \'%s\' '.
23 23
         'that does not support it';
24 24
 
25 25
     /**
Please login to merge, or discard this patch.
Business/Payment/Transaction/Handler/ReservationTransactionHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 class ReservationTransactionHandler implements ReservationTransactionHandlerInterface
17 17
 {
18 18
     public const ERROR_MESSAGE_RESERVATION_TRANSACTION_NOT_SUPPORTED =
19
-        'Attempt to call reservation transaction on payment method \'%s\' ' .
19
+        'Attempt to call reservation transaction on payment method \'%s\' '.
20 20
         'that does not support it';
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
Business/Payment/Transaction/Handler/InitializeTransactionHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 class InitializeTransactionHandler implements InitializeTransactionHandlerInterface
17 17
 {
18 18
     public const ERROR_MESSAGE_INITIALIZE_TRANSACTION_NOT_SUPPORTED =
19
-        'Attempt to call initialize transaction on payment method \'%s\' ' .
19
+        'Attempt to call initialize transaction on payment method \'%s\' '.
20 20
         'that does not support it';
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
Payment/Transaction/Handler/AuthorizeOnRegistrationTransactionHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 class AuthorizeOnRegistrationTransactionHandler implements AuthorizeOnRegistrationTransactionHandlerInterface
16 16
 {
17 17
     public const ERROR_MESSAGE_AUTHORIZE_ON_REGISTRATION_TRANSACTION_NOT_SUPPORTED =
18
-        'Attempt to call authorize on registration transaction on payment method \'%s\' ' .
18
+        'Attempt to call authorize on registration transaction on payment method \'%s\' '.
19 19
         'that does not support it';
20 20
     /**
21 21
      * @var \SprykerEco\Zed\Heidelpay\Business\Payment\Transaction\AuthorizeOnRegistrationTransactionInterface
Please login to merge, or discard this patch.
Business/Payment/Transaction/Handler/FinalizeTransactionHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 class FinalizeTransactionHandler implements FinalizeTransactionHandlerInterface
17 17
 {
18 18
     public const ERROR_MESSAGE_FINALIZE_TRANSACTION_NOT_SUPPORTED =
19
-        'Attempt to call finalize transaction on payment method \'%s\' ' .
19
+        'Attempt to call finalize transaction on payment method \'%s\' '.
20 20
         'that does not support it';
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
SprykerEco/Yves/Heidelpay/Hydrator/EasyCreditResponseToQuoteHydrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,13 +61,13 @@
 block discarded – undo
61 61
             ->setAmortisationText($responseAsArray[static::EASYCREDIT_AMORTISATION_TEXT])
62 62
             ->setPreContractionInformationUrl($responseAsArray[static::EASYCREDIT_PRECONTRACT_INFORMATION_URL])
63 63
             ->setAccruingInterest(
64
-                $this->moneyPlugin->convertDecimalToInteger((float)$responseAsArray[static::EASYCREDIT_ACCRUING_INTEREST])
64
+                $this->moneyPlugin->convertDecimalToInteger((float) $responseAsArray[static::EASYCREDIT_ACCRUING_INTEREST])
65 65
             )
66 66
             ->setTotalAmount(
67
-                $this->moneyPlugin->convertDecimalToInteger((float)$responseAsArray[static::EASYCREDIT_TOTAL_AMOUNT])
67
+                $this->moneyPlugin->convertDecimalToInteger((float) $responseAsArray[static::EASYCREDIT_TOTAL_AMOUNT])
68 68
             )
69 69
             ->setTotalOrderAmount(
70
-                $this->moneyPlugin->convertDecimalToInteger((float)$responseAsArray[static::EASYCREDIT_TOTAL_ORDER_AMOUNT])
70
+                $this->moneyPlugin->convertDecimalToInteger((float) $responseAsArray[static::EASYCREDIT_TOTAL_ORDER_AMOUNT])
71 71
             );
72 72
 
73 73
         $quoteTransfer->setPayment($paymentTransfer);
Please login to merge, or discard this patch.
src/SprykerEco/Zed/Heidelpay/Business/Mapper/QuoteToHeidelpayRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 
90 90
         $heidelpayRequestTransfer->setRiskInformation(
91 91
             (new HeidelpayRiskInformationTransfer())
92
-                ->setIsCustomerGuest((bool)$quoteTransfer->getCustomer()->getIsGuest())
92
+                ->setIsCustomerGuest((bool) $quoteTransfer->getCustomer()->getIsGuest())
93 93
                 ->setCustomerSince($customerRegistrationDate)
94 94
                 ->setCustomerId($quoteTransfer->getCustomer()->getIdCustomer())
95 95
         );
Please login to merge, or discard this patch.