Test Setup Failed
Branch master (766dd7)
by Dima
04:18
created
src/Oro/Component/Testing/Unit/FormViewListenerTestCase.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
         $this->translator->expects($this->any())
35 35
             ->method('trans')
36 36
             ->willReturnCallback(
37
-                function ($id) {
37
+                function($id) {
38 38
                     return $id . '.trans';
39 39
                 }
40 40
             );
Please login to merge, or discard this patch.
src/Oro/Component/Testing/Unit/AddressFormExtensionTestCase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,13 +79,13 @@
 block discarded – undo
79 79
 
80 80
         $translatableEntity->expects($this->any())->method('setDefaultOptions')->will(
81 81
             $this->returnCallback(
82
-                function (OptionsResolver $resolver) use ($choices) {
83
-                    $choiceList = function (Options $options) use ($choices) {
82
+                function(OptionsResolver $resolver) use ($choices) {
83
+                    $choiceList = function(Options $options) use ($choices) {
84 84
                         $className = $options->offsetGet('class');
85 85
                         if (array_key_exists($className, $choices)) {
86 86
                             return new ArrayChoiceList(
87 87
                                 $choices[$className],
88
-                                function ($item) {
88
+                                function($item) {
89 89
                                     if ($item instanceof Country) {
90 90
                                         return $item->getIso2Code();
91 91
                                     }
Please login to merge, or discard this patch.