Test Setup Failed
Push — master ( f57cb2...89eab9 )
by
unknown
09:12 queued 04:52
created
Tests/Unit/EventListener/EntityAliasStructureOptionsListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     {
37 37
         $alias = 'ALIAS';
38 38
         $pluralAlias = 'PLURAL_ALIAS';
39
-        $entityStructure = $this->getEntity(EntityStructure::class, ['className' => \stdClass::class,]);
39
+        $entityStructure = $this->getEntity(EntityStructure::class, ['className' => \stdClass::class, ]);
40 40
 
41 41
         $this->entityAliasResolver
42 42
             ->expects($this->once())
Please login to merge, or discard this patch.
EntityBundle/Tests/Unit/EventListener/ORM/PartialIndexListenerTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -98,14 +98,14 @@
 block discarded – undo
98 98
         $classInfo = $this->createMock(ClassMetadataInfo::class);
99 99
         $classInfo->method('getTableName')->willReturn($table);
100 100
         $classInfo->table = [
101
-           'indexes' => [
102
-               $index => [
103
-                   'options' => [
104
-                       'where' => 'some condition',
105
-                       'option2' => 'some value'
106
-                   ]
107
-               ]
108
-           ]
101
+            'indexes' => [
102
+                $index => [
103
+                    'options' => [
104
+                        'where' => 'some condition',
105
+                        'option2' => 'some value'
106
+                    ]
107
+                ]
108
+            ]
109 109
         ];
110 110
 
111 111
         return $classInfo;
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/Entity/Manager/DictionaryApiEntityManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
             if ($representationField !== null) {
178 178
                 $text = $this->propertyAccessor->getValue($result, $representationField);
179 179
             } else {
180
-                $text = implode(' ', array_map(function ($field) use ($result) {
180
+                $text = implode(' ', array_map(function($field) use ($result) {
181 181
                     return $this->propertyAccessor->getValue($result, $field);
182 182
                 }, $searchFields));
183 183
             }
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/Form/Type/EntityFieldFallbackValueType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 
84 84
         $builder->addEventListener(
85 85
             FormEvents::PRE_SET_DATA,
86
-            function (FormEvent $event) {
86
+            function(FormEvent $event) {
87 87
                 $form = $event->getForm();
88 88
                 $fallbackId = $event->getData() ? $event->getData()->getFallback() : null;
89 89
 
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/ORM/OroEntityManager.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
         }
35 35
 
36 36
         if (is_array($conn)) {
37
-            $conn = \Doctrine\DBAL\DriverManager::getConnection($conn, $config, ($eventManager ? : new EventManager()));
37
+            $conn = \Doctrine\DBAL\DriverManager::getConnection($conn, $config, ($eventManager ?: new EventManager()));
38 38
         } elseif ($conn instanceof Connection) {
39 39
             if ($eventManager !== null && $conn->getEventManager() !== $eventManager) {
40 40
                 throw ORMException::mismatchedEventManager();
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/EventListener/EntityRelationGridListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             $extendFieldConfig->get('target_title'),
68 68
             $extendFieldConfig->get('target_detailed')
69 69
         );
70
-        $targetIdField    = $this->doctrineHelper->getSingleEntityIdentifierFieldName($targetEntityName);
70
+        $targetIdField = $this->doctrineHelper->getSingleEntityIdentifierFieldName($targetEntityName);
71 71
         // build 'assigned' field expression
72 72
         if ($entityId) {
73 73
             $extendEntityConfig = $extendConfigProvider->getConfig($entityClassName);
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $relationHasInverseSide = $relation['target_field_id'] !== false;
79 79
             if ($relationHasInverseSide) {
80 80
                 $targetFieldName = $relation['target_field_id']->getFieldName();
81
-                $whenExpr       = sprintf(
81
+                $whenExpr = sprintf(
82 82
                     '(:relation %s o.%s OR o.%s IN (:data_in)) AND o.%s NOT IN (:data_not_in)',
83 83
                     $operator,
84 84
                     $targetFieldName,
Please login to merge, or discard this patch.
src/Oro/Bundle/EntityBundle/EventListener/CustomEntityGridListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         $router = $this->router;
56 56
         $route  = $node['route'];
57 57
 
58
-        return function (ResultRecord $record) use ($gridName, $router, $route) {
58
+        return function(ResultRecord $record) use ($gridName, $router, $route) {
59 59
             $datagrid  = $this->getVisitedDatagrid($gridName);
60 60
             $className = $datagrid->getParameters()->get('class_name');
61 61
             return $router->generate(
Please login to merge, or discard this patch.
Oro/Bundle/LocaleBundle/Tests/Unit/Formatter/LanguageCodeFormatterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     {
29 29
         IntlTestHelper::requireIntl($this);
30 30
 
31
-        $this->translator   = $this->createMock('Symfony\Component\Translation\TranslatorInterface');
31
+        $this->translator = $this->createMock('Symfony\Component\Translation\TranslatorInterface');
32 32
         $this->configManager = $this->getMockBuilder('Oro\Bundle\ConfigBundle\Config\ConfigManager')
33 33
             ->disableOriginalConstructor()->getMock();
34 34
 
Please login to merge, or discard this patch.
src/Oro/Bundle/LocaleBundle/Tests/Unit/Formatter/NumberFormatterTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@
 block discarded – undo
392 392
             array(\NumberFormatter::DECIMAL_ALWAYS_SHOWN, \NumberFormatter::DECIMAL, 'en_US', 0),
393 393
             array(\NumberFormatter::MAX_INTEGER_DIGITS, \NumberFormatter::DECIMAL, 'en_US', $maxIntegerDigits),
394 394
             array(\NumberFormatter::MIN_INTEGER_DIGITS, \NumberFormatter::DECIMAL, 'en_US', 1),
395
-            array(\NumberFormatter::INTEGER_DIGITS,\NumberFormatter::DECIMAL, 'en_US', 1),
395
+            array(\NumberFormatter::INTEGER_DIGITS, \NumberFormatter::DECIMAL, 'en_US', 1),
396 396
             array(\NumberFormatter::MAX_FRACTION_DIGITS, \NumberFormatter::DECIMAL, 'en_US', 3),
397 397
             array(\NumberFormatter::MIN_FRACTION_DIGITS, \NumberFormatter::DECIMAL, 'en_US', 0),
398 398
             array(\NumberFormatter::MAX_FRACTION_DIGITS, \NumberFormatter::CURRENCY, 'en_US', 2),
Please login to merge, or discard this patch.