Test Setup Failed
Push — master ( fe3d4c...e44f29 )
by
unknown
03:25
created
Bundle/OrderBundle/Tests/Unit/Form/Type/AbstractOrderAddressTypeTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $this->orderAddressManager->expects($this->any())->method('updateFromAbstract')
122 122
             ->will(
123 123
                 $this->returnCallback(
124
-                    function (CustomerAddress $address = null, OrderAddress $orderAddress = null) {
124
+                    function(CustomerAddress $address = null, OrderAddress $orderAddress = null) {
125 125
                         if (!$orderAddress) {
126 126
                             $orderAddress = new OrderAddress();
127 127
                         }
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
         $this->orderAddressManager->expects($this->any())->method('getEntityByIdentifier')
293 293
             ->will(
294 294
                 $this->returnCallback(
295
-                    function ($identifier) use ($groupedAddresses) {
295
+                    function($identifier) use ($groupedAddresses) {
296 296
                         foreach ($groupedAddresses as $groupedAddressesGroup) {
297 297
                             if (array_key_exists($identifier, $groupedAddressesGroup)) {
298 298
                                 return $groupedAddressesGroup[$identifier];
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
         $this->orderAddressManager->expects($this->any())->method('updateFromAbstract')
308 308
             ->will(
309 309
                 $this->returnCallback(
310
-                    function (CustomerAddress $address) {
310
+                    function(CustomerAddress $address) {
311 311
                         $orderAddress = new OrderAddress();
312 312
                         $orderAddress->setCountry($address->getCountry())
313 313
                             ->setRegion($address->getRegion())
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
         $this->orderAddressManager->expects($this->any())->method('updateFromAbstract')
327 327
             ->will(
328 328
                 $this->returnCallback(
329
-                    function (CustomerAddress $address = null, OrderAddress $orderAddress = null) {
329
+                    function(CustomerAddress $address = null, OrderAddress $orderAddress = null) {
330 330
                         if (!$orderAddress) {
331 331
                             $orderAddress = new OrderAddress();
332 332
                         }
Please login to merge, or discard this patch.
Functional/DataFixtures/LoadChargeAuthorizedPaymentsPermissionUserData.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         return [
68 68
             [
69
-                'email' => self::USER_WITH_CHARGE_AUTHORIZED_PAYMENTS_PERMISSION.'@test.com',
69
+                'email' => self::USER_WITH_CHARGE_AUTHORIZED_PAYMENTS_PERMISSION . '@test.com',
70 70
                 'username' => self::USER_WITH_CHARGE_AUTHORIZED_PAYMENTS_PERMISSION,
71 71
                 'password' => self::USER_WITH_CHARGE_AUTHORIZED_PAYMENTS_PERMISSION,
72 72
                 'firstname' => 'User',
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
                 'roles' => [self::ROLE_CHARGE_AUTHORIZED_PAYMENTS_PERMISSION],
75 75
             ],
76 76
             [
77
-                'email' => self::USER_PAYMENT_HISTORY_VIEWER.'@test.com',
77
+                'email' => self::USER_PAYMENT_HISTORY_VIEWER . '@test.com',
78 78
                 'username' => self::USER_PAYMENT_HISTORY_VIEWER,
79 79
                 'password' => self::USER_PAYMENT_HISTORY_VIEWER,
80 80
                 'firstname' => 'User',
Please login to merge, or discard this patch.
FlatRateShippingBundle/Tests/Unit/Form/Type/FlatRateSettingsTypeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $repositoryLocalization->expects($this->any())
54 54
             ->method('find')
55 55
             ->willReturnCallback(
56
-                function ($id) {
56
+                function($id) {
57 57
                     return $this->getEntity(Localization::class, ['id' => $id]);
58 58
                 }
59 59
             );
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         $repositoryLocalizedFallbackValue->expects($this->any())
63 63
             ->method('find')
64 64
             ->willReturnCallback(
65
-                function ($id) {
65
+                function($id) {
66 66
                     return $this->getEntity(LocalizedFallbackValue::class, ['id' => $id]);
67 67
                 }
68 68
             );
Please login to merge, or discard this patch.
Bundle/WebCatalogBundle/Migrations/Data/Demo/ORM/LoadWebCatalogDemoData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     use UserUtilityTrait;
34 34
 
35 35
     const DEFAULT_WEB_CATALOG_NAME = 'Default Web Catalog';
36
-    const DEFAULT_WEB_CATALOG_DESC= 'Default Web Catalog description';
36
+    const DEFAULT_WEB_CATALOG_DESC = 'Default Web Catalog description';
37 37
 
38 38
     /**
39 39
      * @var ContainerInterface
Please login to merge, or discard this patch.
src/Oro/Bundle/CMSBundle/Migration/HomePageSliderImagesSourceFixer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     {
91 91
         return preg_replace_callback(
92 92
             '/"(\/bundles\/[^"]*\.jpg)"/',
93
-            function ($matches) use ($subPath) {
93
+            function($matches) use ($subPath) {
94 94
                 return sprintf('"%s%s"', $subPath, $matches[1]);
95 95
             },
96 96
             $content
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     {
107 107
         return preg_replace_callback(
108 108
             '/href=("|\')(\/[^"\']+)\1/',
109
-            function ($matches) use ($subPath) {
109
+            function($matches) use ($subPath) {
110 110
                 return sprintf('href=%1$s%2$s%3$s%1$s', $matches[1], $subPath, $matches[2]);
111 111
             },
112 112
             $content
Please login to merge, or discard this patch.
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.
ProductBundle/EventListener/ProductContentVariantReindexEventListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
             // filter for only those websites which have current `$webCatalogId` assigned
174 174
             $relatedWebsiteIds = array_filter(
175 175
                 $assignedWebCatalogs,
176
-                function ($relatedWebsiteWebCatalogId) use ($webCatalogId) {
176
+                function($relatedWebsiteWebCatalogId) use ($webCatalogId) {
177 177
                     return $webCatalogId == $relatedWebsiteWebCatalogId;
178 178
                 }
179 179
             );
Please login to merge, or discard this patch.
Unit/SubtotalProcessor/Provider/LineItemNotPricedSubtotalProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             ->method('round')
61 61
             ->will(
62 62
                 $this->returnCallback(
63
-                    function ($value) {
63
+                    function($value) {
64 64
                         return round($value, 0, PHP_ROUND_HALF_UP);
65 65
                     }
66 66
                 )
Please login to merge, or discard this patch.