GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( a9f992...d925ed )
by Alessandro
06:33
created
src/Mado/QueryBundle/Queries/QueryBuilderFactory.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
         $needle = $prevEntityAlias . '_' . $currentEntityAlias;
118 118
 
119
-        return ! in_array($needle, $this->joins);
119
+        return !in_array($needle, $this->joins);
120 120
     }
121 121
 
122 122
     private function storeJoin($prevEntityAlias, $currentEntityAlias)
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
             $relationEntityAlias = $this->getRelationEntityAlias();
276 276
 
277 277
             $embeddedFields = explode('.', $filterObject->getFieldName());
278
-            $embeddedFieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]);
278
+            $embeddedFieldName = $this->parser->camelize($embeddedFields[count($embeddedFields) - 1]);
279 279
 
280 280
             $salt = '_' . random_int(111, 999);
281 281
 
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
             $relationEntityAlias = $this->getRelationEntityAlias();
369 369
 
370 370
             $embeddedFields = explode('.', $filterObject->getFieldName());
371
-            $embeddableFieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]);
371
+            $embeddableFieldName = $this->parser->camelize($embeddedFields[count($embeddedFields) - 1]);
372 372
 
373 373
             $salt = '_' . random_int(111, 999);
374 374
 
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
             if (isset($filterAndOperator[1]) && $op->isListOrNlist()) {
379 379
                 $whereCondition .= ' (:field_' . $embeddableFieldName . $salt . ')';
380 380
             } else {
381
-                $whereCondition .=' :field_' . $embeddableFieldName . $salt;
381
+                $whereCondition .= ' :field_' . $embeddableFieldName . $salt;
382 382
             }
383 383
 
384 384
             if (null != $orCondition['orCondition']) {
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
 
430 430
             if (in_array($fieldName, $this->fields)) {
431 431
                 $direction = ($val === self::DIRECTION_AZ) ? self::DIRECTION_AZ : self::DIRECTION_ZA;
432
-                $this->qBuilder->addOrderBy($this->entityAlias .'.'. $fieldName, $direction);
432
+                $this->qBuilder->addOrderBy($this->entityAlias . '.' . $fieldName, $direction);
433 433
             }
434 434
 
435 435
             if (strstr($sort, '_embedded.')) {
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
                 $fieldName = $this->parser->camelize($embeddedFields[2]);
441 441
                 $direction = ($val === self::DIRECTION_AZ) ? self::DIRECTION_AZ : self::DIRECTION_ZA;
442 442
 
443
-                $this->qBuilder->addOrderBy($relationEntityAlias.'.'.$fieldName, $direction);
443
+                $this->qBuilder->addOrderBy($relationEntityAlias . '.' . $fieldName, $direction);
444 444
             }
445 445
 
446 446
         }
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
         return $this->pageLength;
516 516
     }
517 517
 
518
-    public function setSelect( $select) : QueryBuilderFactory
518
+    public function setSelect($select) : QueryBuilderFactory
519 519
     {
520 520
         $this->select = $select;
521 521
 
Please login to merge, or discard this patch.