Passed
Push — bugfix/supesc-213-is-capture-a... ( b2b98a )
by Roman
08:15
created
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.
Communication/Oms/Condition/IsAuthorizationFinishedOmsCondition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     {
39 39
         $heidelpayNotificationCollection = $this->repository
40 40
             ->getPaymentHeidelpayNotificationCollectionByTransactionIdAndPaymentCode(
41
-                (string)$orderItem->getFkSalesOrder(),
41
+                (string) $orderItem->getFkSalesOrder(),
42 42
                 static::AUTHORIZATION_PAYMENT_CODE
43 43
             );
44 44
 
Please login to merge, or discard this patch.
Heidelpay/Communication/Oms/Condition/IsFinalizingFailedOmsCondition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     {
39 39
         $heidelpayNotificationCollection = $this->repository
40 40
             ->getPaymentHeidelpayNotificationCollectionByTransactionIdAndPaymentCode(
41
-                (string)$orderItem->getFkSalesOrder(),
41
+                (string) $orderItem->getFkSalesOrder(),
42 42
                 static::FINALIZE_PAYMENT_CODE
43 43
             );
44 44
 
Please login to merge, or discard this patch.
Zed/Heidelpay/Communication/Oms/Condition/IsOrderPaidOmsCondition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     {
49 49
         $heidelpayNotificationCollection = $this->repository
50 50
             ->getPaymentHeidelpayNotificationCollectionByTransactionIdAndPaymentCode(
51
-                (string)$orderItem->getFkSalesOrder(),
51
+                (string) $orderItem->getFkSalesOrder(),
52 52
                 static::PAID_RECEIPT_PAYMENT_CODE
53 53
             );
54 54
 
Please login to merge, or discard this patch.
Heidelpay/Communication/Oms/Condition/IsAuthorizationFailedOmsCondition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     {
39 39
         $heidelpayNotificationCollection = $this->repository
40 40
             ->getPaymentHeidelpayNotificationCollectionByTransactionIdAndPaymentCode(
41
-                (string)$orderItem->getFkSalesOrder(),
41
+                (string) $orderItem->getFkSalesOrder(),
42 42
                 static::AUTHORIZATION_PAYMENT_CODE
43 43
             );
44 44
 
Please login to merge, or discard this patch.
Heidelpay/Communication/Oms/Condition/IsFinalizingFinishedOmsCondition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     {
39 39
         $heidelpayNotificationCollection = $this->repository
40 40
             ->getPaymentHeidelpayNotificationCollectionByTransactionIdAndPaymentCode(
41
-                (string)$orderItem->getFkSalesOrder(),
41
+                (string) $orderItem->getFkSalesOrder(),
42 42
                 static::FINALIZE_PAYMENT_CODE
43 43
             );
44 44
 
Please login to merge, or discard this patch.
src/SprykerEco/Shared/Heidelpay/HeidelpayConfig.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@
 block discarded – undo
13 13
 {
14 14
     public const PROVIDER_NAME = 'heidelpay';
15 15
 
16
-    public const PAYMENT_METHOD_SOFORT = self::PROVIDER_NAME . 'Sofort';
17
-    public const PAYMENT_METHOD_CREDIT_CARD_SECURE = self::PROVIDER_NAME . 'CreditCardSecure';
18
-    public const PAYMENT_METHOD_PAYPAL_AUTHORIZE = self::PROVIDER_NAME . 'PaypalAuthorize';
19
-    public const PAYMENT_METHOD_PAYPAL_DEBIT = self::PROVIDER_NAME . 'PaypalDebit';
20
-    public const PAYMENT_METHOD_IDEAL = self::PROVIDER_NAME . 'Ideal';
21
-    public const PAYMENT_METHOD_EASY_CREDIT = self::PROVIDER_NAME . 'EasyCredit';
22
-    public const PAYMENT_METHOD_INVOICE_SECURED_B2C = self::PROVIDER_NAME . 'InvoiceSecuredB2c';
23
-    public const PAYMENT_METHOD_DIRECT_DEBIT = self::PROVIDER_NAME . 'DirectDebit';
16
+    public const PAYMENT_METHOD_SOFORT = self::PROVIDER_NAME.'Sofort';
17
+    public const PAYMENT_METHOD_CREDIT_CARD_SECURE = self::PROVIDER_NAME.'CreditCardSecure';
18
+    public const PAYMENT_METHOD_PAYPAL_AUTHORIZE = self::PROVIDER_NAME.'PaypalAuthorize';
19
+    public const PAYMENT_METHOD_PAYPAL_DEBIT = self::PROVIDER_NAME.'PaypalDebit';
20
+    public const PAYMENT_METHOD_IDEAL = self::PROVIDER_NAME.'Ideal';
21
+    public const PAYMENT_METHOD_EASY_CREDIT = self::PROVIDER_NAME.'EasyCredit';
22
+    public const PAYMENT_METHOD_INVOICE_SECURED_B2C = self::PROVIDER_NAME.'InvoiceSecuredB2c';
23
+    public const PAYMENT_METHOD_DIRECT_DEBIT = self::PROVIDER_NAME.'DirectDebit';
24 24
 
25 25
     public const PAYMENT_OPTION_NEW_REGISTRATION = 'new-registration';
26 26
     public const PAYMENT_OPTION_EXISTING_REGISTRATION = 'existing-registration';
Please login to merge, or discard this patch.
Business/Processor/Notification/Converter/NotificationXmlConverter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,12 +55,12 @@
 block discarded – undo
55 55
 
56 56
         $attributes = $xmlElement->attributes();
57 57
         if ($xmlElement->count() > 0 && $attributes->count() > 0) {
58
-            $result['@attributes'] = ((array)$attributes)['@attributes'];
58
+            $result['@attributes'] = ((array) $attributes)['@attributes'];
59 59
         }
60 60
 
61 61
         foreach ($xmlElement->children() as $node) {
62 62
             /** @var \SimpleXMLElement $node */
63
-            $result[$node->getName()] = $node->count() > 0 ? $this->simpleXmlToArray($node) : (string)$node;
63
+            $result[$node->getName()] = $node->count() > 0 ? $this->simpleXmlToArray($node) : (string) $node;
64 64
         }
65 65
 
66 66
         return $result;
Please login to merge, or discard this patch.