Test Setup Failed
Branch master (766dd7)
by Dima
04:18
created
src/Oro/Bundle/WebsiteSearchBundle/Tests/Unit/Engine/AsyncIndexerTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
             ->willReturn([
229 229
                             [Item::class],
230 230
                             [self::WEBSITE_ID]
231
-                         ]);
231
+                            ]);
232 232
 
233 233
         $this->granularizer->expects($this->atLeastOnce())
234 234
             ->method('process')
Please login to merge, or discard this patch.
Tests/Unit/Provider/WebsiteSearchMappingProviderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             ->with(WebsiteSearchMappingEvent::NAME, $this->isInstanceOf(WebsiteSearchMappingEvent::class))
81 81
             ->willReturnOnConsecutiveCalls(
82 82
                 $this->returnCallback(
83
-                    function ($name, WebsiteSearchMappingEvent $event) {
83
+                    function($name, WebsiteSearchMappingEvent $event) {
84 84
                         $config = $event->getConfiguration();
85 85
                         $config['Oro\TestBundle\Entity\TestEntity']['fields']['lastname'] = [
86 86
                             'name' => 'lastname',
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
                     }
93 93
                 ),
94 94
                 $this->returnCallback(
95
-                    function ($name, WebsiteSearchMappingEvent $event) {
95
+                    function($name, WebsiteSearchMappingEvent $event) {
96 96
                         $config = $event->getConfiguration();
97 97
                         $config['Oro\TestBundle\Entity\TestEntity']['fields']['email'] = [
98 98
                             'name' => 'email',
Please login to merge, or discard this patch.
Tests/Unit/EventListener/WebsiteLocalizationConfigListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
             ->method('dispatch')
23 23
             ->with(
24 24
                 ReindexationRequestEvent::EVENT_NAME,
25
-                $this->callback(function ($reindexationEvent) {
25
+                $this->callback(function($reindexationEvent) {
26 26
                     /** @var ReindexationRequestEvent $reindexationEvent */
27 27
                     return count($reindexationEvent->getWebsitesIds()) === 0;
28 28
                 })
Please login to merge, or discard this patch.
Bundle/WebsiteSearchBundle/Tests/Functional/Engine/ORM/OrmIndexerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -391,7 +391,7 @@
 block discarded – undo
391 391
             ]
392 392
         );
393 393
 
394
-        $items = $this->getResultItems(['alias' => 'oro_product_'.  $notExistingId]);
394
+        $items = $this->getResultItems(['alias' => 'oro_product_' . $notExistingId]);
395 395
 
396 396
         $this->assertCount(0, $items);
397 397
     }
Please login to merge, or discard this patch.
src/Oro/Bundle/WebsiteSearchBundle/Command/ReindexCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
         $output->writeln($message);
203 203
 
204 204
         if (false !== $range) {
205
-            $result  = range($range[0], $range[1]);
205
+            $result = range($range[0], $range[1]);
206 206
         } else {
207 207
             $result = $this->getLastEntityId($className);
208 208
             $result = range(1, $result);
Please login to merge, or discard this patch.
Oro/Bundle/PromotionBundle/DependencyInjection/OroPromotionExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $configuration = new Configuration();
20 20
         $config = $this->processConfiguration($configuration, $configs);
21 21
 
22
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
22
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
23 23
 
24 24
         $loader->load('services.yml');
25 25
         $loader->load('form_types.yml');
Please login to merge, or discard this patch.
src/Oro/Bundle/PromotionBundle/Tests/Unit/Provider/SubtotalProviderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         $this->translator->expects($this->any())
116 116
             ->method('trans')
117 117
             ->willReturnCallback(
118
-                function ($messageId) {
118
+                function($messageId) {
119 119
                     return $messageId . ' TRANS';
120 120
                 }
121 121
             );
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
         $this->translator->expects($this->any())
170 170
             ->method('trans')
171 171
             ->willReturnCallback(
172
-                function ($messageId) {
172
+                function($messageId) {
173 173
                     return $messageId . ' TRANS';
174 174
                 }
175 175
             );
Please login to merge, or discard this patch.
Unit/Discount/Converter/OrderLineItemsToDiscountLineItemsConverterTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,6 +73,6 @@
 block discarded – undo
73 73
                         ->setSubtotal($price->getValue() * $lineItem->getQuantity())
74 74
                 ]
75 75
             ]
76
-         ];
76
+            ];
77 77
     }
78 78
 }
Please login to merge, or discard this patch.
Tests/Unit/Discount/Converter/LineItemsToDiscountLineItemsConverterTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,6 +105,6 @@
 block discarded – undo
105 105
                         ->setSourceLineItem($lineItem)
106 106
                         ->setSubtotal(0)]
107 107
             ],
108
-         ];
108
+            ];
109 109
     }
110 110
 }
Please login to merge, or discard this patch.