Test Setup Failed
Push — master ( 63daaa...bd6fa1 )
by
unknown
04:04
created
src/Oro/Component/Testing/Unit/AddressFormExtensionTestCase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,13 +88,13 @@
 block discarded – undo
88 88
 
89 89
         $translatableEntity->expects($this->any())->method('configureOptions')->will(
90 90
             $this->returnCallback(
91
-                function (OptionsResolver $resolver) use ($choices) {
92
-                    $choiceList = function (Options $options) use ($choices) {
91
+                function(OptionsResolver $resolver) use ($choices) {
92
+                    $choiceList = function(Options $options) use ($choices) {
93 93
                         $className = $options->offsetGet('class');
94 94
                         if (array_key_exists($className, $choices)) {
95 95
                             return new ArrayChoiceList(
96 96
                                 $choices[$className],
97
-                                function ($item) {
97
+                                function($item) {
98 98
                                     if ($item instanceof Country) {
99 99
                                         return $item->getIso2Code();
100 100
                                     }
Please login to merge, or discard this patch.
src/Oro/Bundle/RFPBundle/Tests/Unit/Form/Type/RequestProductTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         $resolver = $this->createMock('Symfony\Component\OptionsResolver\OptionsResolver');
45 45
         $resolver->expects($this->once())
46 46
             ->method('setDefaults')
47
-            ->with($this->callback(function (array $options) {
47
+            ->with($this->callback(function(array $options) {
48 48
                 $this->assertArrayHasKey('data_class', $options);
49 49
                 $this->assertArrayHasKey('compact_units', $options);
50 50
                 $this->assertArrayHasKey('csrf_token_id', $options);
Please login to merge, or discard this patch.