Test Setup Failed
Push — master ( f57cb2...89eab9 )
by
unknown
09:12 queued 04:52
created
src/Oro/Bundle/DataGridBundle/Tests/Behat/Element/TimePicker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     {
43 43
         $formatedTime = clone $dateTime;
44 44
 
45
-        $minutes = (int) $dateTime->format('i');
45
+        $minutes = (int)$dateTime->format('i');
46 46
         if ($minutes >= 15 && $minutes < 45) {
47 47
             $minutes = '30';
48 48
         } else {
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Tests/Behat/Context/GridContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -695,7 +695,7 @@  discard block
 block discarded – undo
695 695
 
696 696
         $crawler = new Crawler($row->getHtml());
697 697
         /** @var Crawler[] $columns */
698
-        $columns = $crawler->filter('td')->each(function (Crawler $td) {
698
+        $columns = $crawler->filter('td')->each(function(Crawler $td) {
699 699
             return $td;
700 700
         });
701 701
 
@@ -935,7 +935,7 @@  discard block
 block discarded – undo
935 935
     {
936 936
         $hints = array_filter(
937 937
             array_map(
938
-                function ($item) {
938
+                function($item) {
939 939
                     $label = trim($this->createElement('GridFilterHintLabel', $item)->getText());
940 940
                     $text = trim($this->createElement('GridFilterHint', $item)->getText());
941 941
 
@@ -1079,7 +1079,7 @@  discard block
 block discarded – undo
1079 1079
         $row = $grid->getRowByNumber($number);
1080 1080
 
1081 1081
         $actions = array_map(
1082
-            function (Element $action) {
1082
+            function(Element $action) {
1083 1083
                 return $action->getText() ?: $action->getAttribute('title');
1084 1084
             },
1085 1085
             $row->getActionLinks()
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Handler/ExportHandler.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
             'readsCount' => $readsCount,
117 117
             'errorsCount' => $errorsCount,
118 118
             'errors' => $errors
119
-         ];
119
+            ];
120 120
     }
121 121
 
122 122
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
      */
142 142
     public function getExportingEntityIds(DatagridExportIdFetcher $idFetcher, array $parameters)
143 143
     {
144
-        $context  = new Context($parameters);
144
+        $context = new Context($parameters);
145 145
         $idFetcher->setImportExportContext($context);
146 146
 
147 147
         return $idFetcher->getGridDataIds();
Please login to merge, or discard this patch.
src/Oro/Bundle/ConfigBundle/Tests/Unit/Config/ConfigManagerTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         $greetingKey = 'oro_user.greeting';
197 197
         $levelKey = 'oro_user.level';
198 198
 
199
-        $data           = [
199
+        $data = [
200 200
             'oro_user___greeting' => [
201 201
                 'value'                  => 'updated value',
202 202
                 'use_parent_scope_value' => false
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
                 [ConfigSettingsUpdateEvent::BEFORE_SAVE . '.' . $levelKey, $singleKeyLevelEvent],
267 267
                 [ConfigSettingsUpdateEvent::BEFORE_SAVE, $beforeEvent],
268 268
                 [ConfigGetEvent::NAME, $levelNullValueLoadEvent],
269
-                [ConfigGetEvent::NAME  . '.' . $levelKey, $levelNullValueLoadEvent],
269
+                [ConfigGetEvent::NAME . '.' . $levelKey, $levelNullValueLoadEvent],
270 270
                 [ConfigUpdateEvent::EVENT_NAME, $afterEvent]
271 271
             );
272 272
 
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
         $this->globalScopeManager->expects($this->once())
313 313
             ->method('getSettingValue')
314 314
             ->with($parameterName)
315
-            ->willReturnCallback(function ($name) {
315
+            ->willReturnCallback(function($name) {
316 316
                 if ($name === 'oro_test.someArrayValue') {
317 317
                     $value = [
318 318
                         'scope'                  => 'global',
Please login to merge, or discard this patch.
src/Oro/Bundle/ConfigBundle/Tests/Unit/Form/Handler/ConfigHandlerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
             ->method('getAttribute')
129 129
             ->with('handler')
130 130
             ->willReturn(
131
-                function ($manager, $changes) use ($changeSet, &$isAdditionalHandlerCalled) {
131
+                function($manager, $changes) use ($changeSet, &$isAdditionalHandlerCalled) {
132 132
                     self::assertSame($this->configManager, $manager);
133 133
                     self::assertSame($changeSet, $changes);
134 134
                     $isAdditionalHandlerCalled = true;
Please login to merge, or discard this patch.
src/Oro/Bundle/ConfigBundle/Config/ConfigManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -364,13 +364,13 @@
 block discarded – undo
364 364
         }
365 365
 
366 366
         // get the value part only (if full)
367
-        $currentValue = (array) $this->getPlainValue($value, $full);
367
+        $currentValue = (array)$this->getPlainValue($value, $full);
368 368
 
369 369
         // merge missing sub-values with those defined in the parent scopes
370 370
         $managers = $this->getScopeManagersToGetValue(false);
371 371
         foreach ($managers as $scopeName => $manager) {
372 372
             $scopeValue = $manager->getSettingValue($name, $full, $scopeIdentifier);
373
-            $currentValue = array_merge((array) $this->getPlainValue($scopeValue, $full), $currentValue);
373
+            $currentValue = array_merge((array)$this->getPlainValue($scopeValue, $full), $currentValue);
374 374
         }
375 375
 
376 376
         return $this->updateWithPlainValue($value, $currentValue, $full);
Please login to merge, or discard this patch.
ActivityListBundle/Tests/Unit/Provider/ActivityListChainProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@
 block discarded – undo
321 321
         $this->doctrineHelper->expects($this->any())
322 322
             ->method('getEntityClass')
323 323
             ->willReturnCallback(
324
-                function ($entity) use ($testEntity) {
324
+                function($entity) use ($testEntity) {
325 325
                     if ($entity === $testEntity) {
326 326
                         return 'Test\Entity';
327 327
                     }
Please login to merge, or discard this patch.
src/Oro/Bundle/ActivityListBundle/Tests/Behat/Context/ActivityContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -312,7 +312,7 @@
 block discarded – undo
312 312
             case 'two':
313 313
                 return 2;
314 314
             default:
315
-                return (int) $count;
315
+                return (int)$count;
316 316
         }
317 317
     }
318 318
 }
Please login to merge, or discard this patch.
Unit/DependencyInjection/Compiler/EntityRepositoryCompilerPassTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -288,28 +288,28 @@
 block discarded – undo
288 288
         $container->expects($this->any())
289 289
             ->method('hasDefinition')
290 290
             ->willReturnCallback(
291
-                function ($id) use ($definitions) {
291
+                function($id) use ($definitions) {
292 292
                     return !empty($definitions[$id]);
293 293
                 }
294 294
             );
295 295
         $container->expects($this->any())
296 296
             ->method('getDefinition')
297 297
             ->willReturnCallback(
298
-                function ($id) use ($definitions) {
298
+                function($id) use ($definitions) {
299 299
                     return $definitions[$id];
300 300
                 }
301 301
             );
302 302
         $container->expects($this->any())
303 303
             ->method('hasParameter')
304 304
             ->willReturnCallback(
305
-                function ($id) use ($parameters) {
305
+                function($id) use ($parameters) {
306 306
                     return !empty($parameters[$id]);
307 307
                 }
308 308
             );
309 309
         $container->expects($this->any())
310 310
             ->method('getParameter')
311 311
             ->willReturnCallback(
312
-                function ($id) use ($parameters) {
312
+                function($id) use ($parameters) {
313 313
                     return $parameters[$id];
314 314
                 }
315 315
             );
Please login to merge, or discard this patch.