Test Failed
Push — master ( 4d3e85...3303cd )
by Emre
10:37 queued 06:02
created
src/Form/Type/IyzicoGatewayConfigurationType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
                 ],
74 74
                 'label' => 'eres_sylius_iyzico_plugin.ui.threeds',
75 75
             ])
76
-            ->addEventListener(FormEvents::PRE_SUBMIT, function (FormEvent $event) {
76
+            ->addEventListener(FormEvents::PRE_SUBMIT, function(FormEvent $event) {
77 77
                 if (!method_exists(Customer::class, 'getIdentityNumber')) {
78 78
                     $this->flashBag->set('error', 'Iyzico payment plugin Installation failed');
79 79
                 }
Please login to merge, or discard this patch.
src/IyzicoGatewayFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
                 'secret_key',
35 35
             ];
36 36
 
37
-            $config['payum.api'] = static function (ArrayObject $config): array {
37
+            $config['payum.api'] = static function(ArrayObject $config): array {
38 38
                 $config->validateNotEmpty($config['payum.required_options']);
39 39
 
40 40
                 return [
Please login to merge, or discard this patch.
src/Action/ConvertPaymentAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
                 'street' => $order->getShippingAddress()->getStreet(),
65 65
                 'postcode' => $order->getShippingAddress()->getPostcode(),
66 66
             ],
67
-            'iyzico_items' => array_map(function ($orderItem) {
67
+            'iyzico_items' => array_map(function($orderItem) {
68 68
                 return [
69 69
                     'id' => $orderItem->getId(),
70 70
                     'name' => $orderItem->getProductName(),
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                     'category' => $orderItem->getProduct()->getMainTaxon() ? $orderItem->getProduct()->getMainTaxon()->getName() : "empty"
73 73
                 ];
74 74
             }, iterator_to_array($order->getItems())),
75
-            'iyzico_shipment' => array_map(function ($shipment) use ($order) {
75
+            'iyzico_shipment' => array_map(function($shipment) use ($order) {
76 76
                 return [
77 77
                     'id' => $shipment->getMethod()->getId(),
78 78
                     'name' => $shipment->getMethod()->getName(),
Please login to merge, or discard this patch.