Passed
Push — bugfix/supesc-213-is-capture-a... ( b6d348...db0ba1 )
by Anton
16:04
created
src/SprykerEco/Yves/Heidelpay/Form/InvoiceSecuredB2cSubForm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     public function getTemplatePath(): string
64 64
     {
65
-        return HeidelpayConfig::PROVIDER_NAME . DIRECTORY_SEPARATOR . static::PAYMENT_METHOD_TEMPLATE_PATH;
65
+        return HeidelpayConfig::PROVIDER_NAME.DIRECTORY_SEPARATOR.static::PAYMENT_METHOD_TEMPLATE_PATH;
66 66
     }
67 67
 
68 68
     /**
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     protected function createBirthdayConstraint(): Constraint
133 133
     {
134 134
         return new Callback([
135
-            'callback' => function ($date, ExecutionContextInterface $context) {
135
+            'callback' => function($date, ExecutionContextInterface $context) {
136 136
                 $inputDate = new DateTime($date);
137 137
                 $minBirthDate = new DateTime(static::MIN_BIRTHDAY_DATE_STRING);
138 138
                 if ($inputDate > $minBirthDate) {
Please login to merge, or discard this patch.
src/SprykerEco/Yves/Heidelpay/Controller/DirectDebitController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@
 block discarded – undo
221 221
      */
222 222
     protected function streamRedirectResponse(string $redirectUrl): Response
223 223
     {
224
-        $callback = function () use ($redirectUrl) {
224
+        $callback = function() use ($redirectUrl) {
225 225
             echo $redirectUrl;
226 226
         };
227 227
 
Please login to merge, or discard this patch.
Business/Payment/DirectDebit/Registration/DirectDebitRegistrationWriter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
         HeidelpayDirectDebitRegistrationTransfer $directDebitRegistrationTransfer
49 49
     ): HeidelpayDirectDebitRegistrationTransfer {
50 50
         return $this->getTransactionHandler()->handleTransaction(
51
-            function () use ($directDebitRegistrationTransfer) {
51
+            function() use ($directDebitRegistrationTransfer) {
52 52
                 return $this->savePaymentHeidelpayDirectDebitRegistrationEntity($directDebitRegistrationTransfer);
53 53
             }
54 54
         );
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     public function updateDirectDebitRegistration(QuoteTransfer $quoteTransfer): HeidelpayDirectDebitRegistrationTransfer
63 63
     {
64 64
         return $this->getTransactionHandler()->handleTransaction(
65
-            function () use ($quoteTransfer) {
65
+            function() use ($quoteTransfer) {
66 66
                 $directDebitRegistrationTransfer = $this->getDirectDebitRegistration($quoteTransfer);
67 67
 
68 68
                 if ($directDebitRegistrationTransfer->getIdDirectDebitRegistration() === null) {
Please login to merge, or discard this patch.
Yves/Heidelpay/Processor/HeidelpayDirectDebitRegistrationProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
      */
172 172
     protected function getRegistrationId(Request $request): int
173 173
     {
174
-        return (int)$request->get(static::REQUEST_PARAM_REGISTRATION_ID);
174
+        return (int) $request->get(static::REQUEST_PARAM_REGISTRATION_ID);
175 175
     }
176 176
 
177 177
     /**
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      */
239 239
     public function filterResponseParameters(array $responseArray): array
240 240
     {
241
-        return array_filter($responseArray, function ($key) {
241
+        return array_filter($responseArray, function($key) {
242 242
             return !preg_match(static::RESPONSE_PARAMETERS_FILTER_PATTERN, $key);
243 243
         }, ARRAY_FILTER_USE_KEY);
244 244
     }
Please login to merge, or discard this patch.
SprykerEco/Zed/Heidelpay/Business/Adapter/Mapper/ResponseFromHeidelpay.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $responseTransfer
61 61
             ->setIsPending($apiResponse->isPending())
62 62
             ->setIsSuccess($apiResponse->isSuccess())
63
-            ->setIdSalesOrder((int)$apiResponse->getIdentification()->getTransactionId())
63
+            ->setIdSalesOrder((int) $apiResponse->getIdentification()->getTransactionId())
64 64
             ->setIsError($apiResponse->isError())
65 65
             ->setProcessingCode($apiResponse->getProcessing()->code)
66 66
             ->setIdTransactionUnique($apiResponse->getIdentification()->getUniqueId())
Please login to merge, or discard this patch.
Payment/Transaction/Handler/DebitOnRegistrationTransactionHandler.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 DebitOnRegistrationTransactionHandler implements DebitOnRegistrationTransactionHandlerInterface
17 17
 {
18 18
     public const ERROR_MESSAGE_DEBIT_ON_REGISTRATION_TRANSACTION_NOT_SUPPORTED =
19
-        'Attempt to call debit on registration transaction on payment method \'%s\' ' .
19
+        'Attempt to call debit on registration transaction on payment method \'%s\' '.
20 20
         'that does not support it';
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
Heidelpay/Business/Payment/Transaction/Handler/RefundTransactionHandler.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 RefundTransactionHandler implements RefundTransactionHandlerInterface
17 17
 {
18 18
     public const ERROR_MESSAGE_REFUND_TRANSACTION_NOT_SUPPORTED =
19
-        'Attempt to call refund transaction on payment method \'%s\' ' .
19
+        'Attempt to call refund 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/Processor/HeidelpayPaymentResponseProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      */
107 107
     public function filterResponseParameters(array $responseArray): array
108 108
     {
109
-        return array_filter($responseArray, function ($key) {
109
+        return array_filter($responseArray, function($key) {
110 110
             return !preg_match(static::RESPONSE_PARAMETERS_FILTER_PATTERN, $key);
111 111
         }, ARRAY_FILTER_USE_KEY);
112 112
     }
Please login to merge, or discard this patch.
src/SprykerEco/Yves/Heidelpay/Form/DirectDebitSubForm.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
      */
59 59
     public function getTemplatePath(): string
60 60
     {
61
-        return HeidelpayConfig::PROVIDER_NAME . DIRECTORY_SEPARATOR . static::PAYMENT_METHOD_TEMPLATE_PATH;
61
+        return HeidelpayConfig::PROVIDER_NAME.DIRECTORY_SEPARATOR.static::PAYMENT_METHOD_TEMPLATE_PATH;
62 62
     }
63 63
 
64 64
     /**
Please login to merge, or discard this patch.