Test Setup Failed
Push — master ( f57cb2...89eab9 )
by
unknown
09:12 queued 04:52
created
EntityExtendBundle/Migrations/Schema/v1_3/ChangeEnumIdentityQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
             return;
46 46
         }
47 47
 
48
-        $enumEntities  = $this->getEnumEntitiesWithFields($logger, $enumEntityIds);
48
+        $enumEntities = $this->getEnumEntitiesWithFields($logger, $enumEntityIds);
49 49
 
50 50
         $this->processChange($logger, $enumEntities, $dryRun);
51 51
     }
Please login to merge, or discard this patch.
Migrations/Schema/v1_1/AdjustRelationKeyAndIsExtendForFieldQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     {
56 56
         $classNames = $this->getAllConfigurableEntities($logger);
57 57
         foreach ($classNames as $className) {
58
-            $fieldConfigs        = $this->loadFieldConfigs($logger, $className);
58
+            $fieldConfigs = $this->loadFieldConfigs($logger, $className);
59 59
             foreach ($fieldConfigs as $fieldConfig) {
60 60
                 $data = $fieldConfig['data'];
61 61
                 if (!isset($data['extend'])) {
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     protected function loadFieldConfigs(LoggerInterface $logger, $className)
120 120
     {
121
-        $sql    = 'SELECT fc.id, fc.type, fc.field_name, fc.data'
121
+        $sql = 'SELECT fc.id, fc.type, fc.field_name, fc.data'
122 122
             . ' FROM oro_entity_config ec'
123 123
             . ' INNER JOIN oro_entity_config_field fc ON fc.entity_id = ec.id'
124 124
             . ' WHERE ec.class_name = :class';
Please login to merge, or discard this patch.
EntityExtendBundle/Migrations/Schema/v1_5/FixAssociationLabelsQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@
 block discarded – undo
220 220
      */
221 221
     protected function loadAssociationFieldConfigs(LoggerInterface $logger)
222 222
     {
223
-        $sql    = 'SELECT fc.id, ec.class_name, fc.field_name, fc.type, fc.data'
223
+        $sql = 'SELECT fc.id, ec.class_name, fc.field_name, fc.type, fc.data'
224 224
             . ' FROM oro_entity_config ec'
225 225
             . ' INNER JOIN oro_entity_config_field fc ON fc.entity_id = ec.id'
226 226
             . ' WHERE fc.type IN (:types)';
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Engine/ObjectMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
         return array_filter(
91 91
             $entities,
92
-            function ($entityName) use ($modeFilter, $self) {
92
+            function($entityName) use ($modeFilter, $self) {
93 93
                 $mode = $self->getEntityModeConfig($entityName);
94 94
 
95 95
                 return is_array($modeFilter) ? in_array($mode, $modeFilter, true) : $mode === $modeFilter;
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
         if ($mode !== Mode::NORMAL) {
144 144
             return array_filter(
145 145
                 $this->getEntities(),
146
-                function ($className) use ($entityName) {
146
+                function($className) use ($entityName) {
147 147
                     return is_subclass_of($className, $entityName);
148 148
                 }
149 149
             );
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Engine/Orm/PdoPgsql.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@
 block discarded – undo
269 269
         $joinAlias = $this->getJoinAlias(Query::TYPE_TEXT, $index);
270 270
 
271 271
         $qb->addSelect(sprintf('TsRank(%s.value, :quotedValue%s) as rankField%s', $joinAlias, $index, $index))
272
-           ->addOrderBy(sprintf('rankField%s', $index), Criteria::DESC);
272
+            ->addOrderBy(sprintf('rankField%s', $index), Criteria::DESC);
273 273
 
274 274
         $parameter = $qb->getParameter(sprintf('value%s', $index));
275 275
         $quotedValue = sprintf('\'%s\'', $parameter->getValue());
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Datagrid/Filter/SearchEntityFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         /** @var Collection $values */
77 77
         $values = $data['value'];
78 78
         $values = $values->map(
79
-            function ($entity) {
79
+            function($entity) {
80 80
                 return $this->doctrineHelper->getSingleEntityIdentifier($entity, false);
81 81
             }
82 82
         );
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/Tests/Unit/Engine/ObjectMapperTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
                     'name'            => 'products',
56 56
                     'relation_type'   => 'one-to-many',
57 57
                     'relation_fields' => [
58
-                        [   // test that 'target_fields' is set to ['products']
58
+                        [// test that 'target_fields' is set to ['products']
59 59
                             'name'        => 'name',
60 60
                             'target_type' => 'text',
61 61
                         ],
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
                             'name'            => 'categories',
64 64
                             'relation_type'   => 'one-to-many',
65 65
                             'relation_fields' => [
66
-                                [   // test that 'target_fields' is set to ['categories']
66
+                                [// test that 'target_fields' is set to ['categories']
67 67
                                     'name'        => 'name',
68 68
                                     'target_type' => 'text',
69 69
                                 ],
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
                     'target_type'   => 'decimal',
112 112
                     'target_fields' => ['price']
113 113
                 ],
114
-                [   // test that 'target_fields' is set to ['count']
114
+                [// test that 'target_fields' is set to ['count']
115 115
                     'name'        => 'count',
116 116
                     'target_type' => 'integer',
117 117
                 ],
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
                     'name'            => 'products',
140 140
                     'relation_type'   => 'many-to-many',
141 141
                     'relation_fields' => [
142
-                        [   // test that 'target_fields' is set to ['products']
142
+                        [// test that 'target_fields' is set to ['products']
143 143
                             'name'        => 'name',
144 144
                             'target_type' => 'text',
145 145
                         ],
@@ -189,14 +189,14 @@  discard block
 block discarded – undo
189 189
 
190 190
         $this->dispatcher = $this->createMock(EventDispatcherInterface::class);
191 191
 
192
-        $this->mapperProvider  = new SearchMappingProvider($this->dispatcher);
192
+        $this->mapperProvider = new SearchMappingProvider($this->dispatcher);
193 193
         $this->mapperProvider->setMappingConfig($this->mappingConfig);
194 194
 
195 195
         $this->htmlTagHelper = $this->createMock(HtmlTagHelper::class);
196 196
         $this->htmlTagHelper->expects($this->any())
197 197
             ->method('stripTags')
198 198
             ->willReturnCallback(
199
-                function ($value) {
199
+                function($value) {
200 200
                     return trim(strip_tags($value));
201 201
                 }
202 202
             );
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/EventListener/IndexListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,8 +159,8 @@
 block discarded – undo
159 159
         // collect owners of all changed collections if owner class has mapping to collection field
160 160
         return array_reduce(
161 161
             $collectionUpdates,
162
-            function (array $entities, PersistentCollection $collection) {
163
-                $owner        = $collection->getOwner();
162
+            function(array $entities, PersistentCollection $collection) {
163
+                $owner = $collection->getOwner();
164 164
                 $className     = ClassUtils::getClass($owner);
165 165
                 $changedFields = $this->getIntersectChangedIndexedFields(
166 166
                     $className,
Please login to merge, or discard this patch.
src/Oro/Bundle/SearchBundle/EventListener/ORM/FulltextIndexListener.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 class FulltextIndexListener
12 12
 {
13 13
     /**
14
-    * @var Connection
15
-    */
14
+     * @var Connection
15
+     */
16 16
     protected $connection;
17 17
 
18 18
     /**
Please login to merge, or discard this patch.