Test Setup Failed
Push — master ( 4cddfe...aeddcf )
by
unknown
04:10
created
ShippingBundle/Tests/Unit/Form/Type/ShippingMethodsConfigsRuleTypeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,8 @@
 block discarded – undo
102 102
         $translator = $this->createMock(TranslatorInterface::class);
103 103
         $translator->expects(static::any())
104 104
             ->method('trans')
105
-            ->will(static::returnCallback(function ($message) {
106
-                return $message.'_translated';
105
+            ->will(static::returnCallback(function($message) {
106
+                return $message . '_translated';
107 107
             }));
108 108
     }
109 109
 
Please login to merge, or discard this patch.
src/Oro/Bundle/OrderBundle/Form/Type/AbstractOrderAddressType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,11 +67,11 @@  discard block
 block discarded – undo
67 67
         $isManualEditGranted = $this->orderAddressSecurityProvider->isManualEditGranted($type);
68 68
         $this->initCustomerAddressField($builder, $type, $order, $isManualEditGranted, $isEditEnabled);
69 69
 
70
-        $builder->add('phone', TextType::class, ['required' => false, StripTagsExtension::OPTION_NAME => true,]);
70
+        $builder->add('phone', TextType::class, ['required' => false, StripTagsExtension::OPTION_NAME => true, ]);
71 71
 
72 72
         $builder->addEventListener(
73 73
             FormEvents::SUBMIT,
74
-            function (FormEvent $event) use ($isManualEditGranted) {
74
+            function(FormEvent $event) use ($isManualEditGranted) {
75 75
                 if (!$isManualEditGranted) {
76 76
                     $event->setData(null);
77 77
                 }
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
     {
152 152
         array_walk_recursive(
153 153
             $addresses,
154
-            function (&$item) {
154
+            function(&$item) {
155 155
                 if ($item instanceof AbstractAddress) {
156 156
                     $item = $this->addressFormatter->format($item, null, ', ');
157 157
                 }
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 
175 175
         array_walk_recursive(
176 176
             $addresses,
177
-            function ($item, $key) use (&$data) {
177
+            function($item, $key) use (&$data) {
178 178
                 if ($item instanceof AbstractAddress) {
179 179
                     $data[$key] = $this->serializer->normalize($item);
180 180
                 }
Please login to merge, or discard this patch.
src/Oro/Bundle/ProductBundle/Form/Type/ProductUnitPrecisionType.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,10 +57,10 @@
 block discarded – undo
57 57
                     'unit_disabled',
58 58
                     ProductUnitSelectType::class,
59 59
                     [
60
-                       'compact' => $options['compact'],
61
-                       'disabled' => $disabled,
62
-                       'mapped' => false,
63
-                       'data' => $unitPrecision->getUnit()
60
+                        'compact' => $options['compact'],
61
+                        'disabled' => $disabled,
62
+                        'mapped' => false,
63
+                        'data' => $unitPrecision->getUnit()
64 64
                     ]
65 65
                 );
66 66
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             ->add('conversionRate', NumberType::class, ['required' => false])
47 47
             ->add('sell', CheckboxType::class, ['required' => false]);
48 48
 
49
-        $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) use ($options) {
49
+        $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) use ($options) {
50 50
             $unitPrecision = $event->getData();
51 51
             $form = $event->getForm();
52 52
 
Please login to merge, or discard this patch.