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.
Passed
Pull Request — 2.2 (#94)
by Simone
07:27 queued 04:26
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']) {
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
             if (in_array($fieldName, $this->fields)) {
431 431
                 $direction = ($val === self::DIRECTION_AZ) ? self::DIRECTION_AZ : self::DIRECTION_ZA;
432 432
                 $this->ensureQueryBuilderIsDefined();
433
-                $this->qBuilder->addOrderBy($this->entityAlias .'.'. $fieldName, $direction);
433
+                $this->qBuilder->addOrderBy($this->entityAlias . '.' . $fieldName, $direction);
434 434
             }
435 435
 
436 436
             if (strstr($sort, '_embedded.')) {
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
                 $fieldName = $this->parser->camelize($embeddedFields[2]);
442 442
                 $direction = ($val === self::DIRECTION_AZ) ? self::DIRECTION_AZ : self::DIRECTION_ZA;
443 443
 
444
-                $this->qBuilder->addOrderBy($relationEntityAlias.'.'.$fieldName, $direction);
444
+                $this->qBuilder->addOrderBy($relationEntityAlias . '.' . $fieldName, $direction);
445 445
             }
446 446
 
447 447
         }
@@ -516,7 +516,7 @@  discard block
 block discarded – undo
516 516
         return $this->pageLength;
517 517
     }
518 518
 
519
-    public function setSelect( $select) : QueryBuilderFactory
519
+    public function setSelect($select) : QueryBuilderFactory
520 520
     {
521 521
         $this->select = $select;
522 522
 
Please login to merge, or discard this patch.