Test Setup Failed
Push — master ( f7d5f4...1c10a6 )
by
unknown
11:44 queued 07:40
created
src/Oro/Bundle/SearchBundle/Engine/Orm/PdoMysql.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     {
170 170
         $results = array_filter(explode(' ', $value), 'strlen');
171 171
         $results = array_map(
172
-            function ($word) use ($searchCondition) {
172
+            function($word) use ($searchCondition) {
173 173
                 if ($searchCondition === Query::OPERATOR_CONTAINS && filter_var($word, FILTER_VALIDATE_EMAIL)) {
174 174
                     $word = sprintf('"%s"', $word);
175 175
                 }
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 
196 196
         $words = array_filter(
197 197
             $words,
198
-            function ($value) use ($length) {
198
+            function($value) use ($length) {
199 199
                 if (filter_var($value, FILTER_VALIDATE_INT)) {
200 200
                     return true;
201 201
                 }
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
         foreach (array_values($words) as $key => $value) {
299 299
             $valueParameter = 'value' . $index . '_w' . $key;
300 300
             QueryBuilderUtil::checkIdentifier($valueParameter);
301
-            $result->add($qb->expr()->like($joinAlias. '.value', ':' . $valueParameter));
301
+            $result->add($qb->expr()->like($joinAlias . '.value', ':' . $valueParameter));
302 302
             $qb->setParameter($valueParameter, "%$value%");
303 303
         }
304 304
         if ($this->isConcreteField($fieldName) && !$this->isAllDataField($fieldName)) {
Please login to merge, or discard this patch.