Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

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.
Completed
Push — 2.x ( b55387...809f33 )
by Sebastian
15s queued 11s
created
plugins/search/class.tx_dlf_search.php 1 patch
Upper-Lower-Casing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -200,14 +200,14 @@  discard block
 block discarded – undo
200 200
 
201 201
         foreach (array ('AND', 'OR', 'NOT') as $operator) {
202 202
 
203
-            $operatorOptions .= '<option class="tx-dlf-search-operator-option tx-dlf-search-operator-'.$operator.'" value="'.$operator.'">'.$this->pi_getLL($operator, '', TRUE).'</option>';
203
+            $operatorOptions .= '<option class="tx-dlf-search-operator-option tx-dlf-search-operator-'.$operator.'" value="'.$operator.'">'.$this->pi_getLL($operator, '', true).'</option>';
204 204
 
205 205
         }
206 206
 
207 207
         // Get field selector options.
208 208
         $fieldSelectorOptions = '';
209 209
 
210
-        $searchFields = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->conf['extendedFields'], TRUE);
210
+        $searchFields = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->conf['extendedFields'], true);
211 211
 
212 212
         foreach ($searchFields as $searchField) {
213 213
 
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
         // Get facets from plugin configuration.
264 264
         $facets = array ();
265 265
 
266
-        foreach (\TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->conf['facets'], TRUE) as $facet) {
266
+        foreach (\TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->conf['facets'], true) as $facet) {
267 267
 
268 268
             $facets[$facet.'_faceting'] = tx_dlf_helper::translate($facet, 'tx_dlf_metadata', $this->conf['pages']);
269 269
 
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
         $queryColumn = array_column($search['params']['filterquery'], 'query');
391 391
         $index = array_search($field.':("'.tx_dlf_solr::escapeQuery($value).'")', $queryColumn);
392 392
 
393
-        if ($index !== FALSE) {
393
+        if ($index !== false) {
394 394
 
395 395
             // Facet is selected, thus remove it from filter.
396 396
             unset($queryColumn[$index]);
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
             //Reset facets
405 405
             if ($this->conf['resetFacets']) {
406 406
                 //remove ($count) for selected facet in template
407
-                $entryArray['count'] = FALSE;
407
+                $entryArray['count'] = false;
408 408
                 //build link to delete selected facet
409 409
                 $entryArray['_OVERRIDE_HREF'] = $this->pi_linkTP_keepPIvars_url(array ('query' => $search['query'], 'fq' => $queryColumn));
410 410
                 $entryArray['title'] = sprintf($this->pi_getLL('resetFacet', ''), $entryArray['title']);
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
         $this->init($conf);
441 441
 
442 442
         // Disable caching for this plugin.
443
-        $this->setCache(FALSE);
443
+        $this->setCache(false);
444 444
 
445 445
         // Quit without doing anything if required variables are not set.
446 446
         if (empty($this->conf['solrcore'])) {
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
             }
537 537
 
538 538
             // Build label for result list.
539
-            $label = $this->pi_getLL('search', '', TRUE);
539
+            $label = $this->pi_getLL('search', '', true);
540 540
 
541 541
             if (!empty($this->piVars['query'])) {
542 542
 
@@ -573,7 +573,7 @@  discard block
 block discarded – undo
573 573
 
574 574
                 $allowedOperators = array ('AND', 'OR', 'NOT');
575 575
 
576
-                $allowedFields = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->conf['extendedFields'], TRUE);
576
+                $allowedFields = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->conf['extendedFields'], true);
577 577
 
578 578
                 for ($i = 0; $i < count($this->piVars['extQuery']); $i++) {
579 579
 
@@ -630,7 +630,7 @@  discard block
 block discarded – undo
630 630
 
631 631
                     $params['filterquery'][]['query'] = 'collection_faceting:("'.tx_dlf_solr::escapeQuery($index_name).'")';
632 632
 
633
-                    $label .= sprintf($this->pi_getLL('in', '', TRUE), tx_dlf_helper::translate($index_name, 'tx_dlf_collections', $this->conf['pages']));
633
+                    $label .= sprintf($this->pi_getLL('in', '', true), tx_dlf_helper::translate($index_name, 'tx_dlf_collections', $this->conf['pages']));
634 634
 
635 635
                 }
636 636
 
@@ -726,7 +726,7 @@  discard block
 block discarded – undo
726 726
 
727 727
             }
728 728
 
729
-            $linkConf['additionalParams'] = \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, $additionalParams, '', TRUE, FALSE);
729
+            $linkConf['additionalParams'] = \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, $additionalParams, '', true, false);
730 730
 
731 731
             // Send headers.
732 732
             header('Location: '.\TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl($this->cObj->typoLink_URL($linkConf)));
Please login to merge, or discard this patch.
common/class.tx_dlf_solr.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * @var	boolean
75 75
      * @access protected
76 76
      */
77
-    protected $ready = FALSE;
77
+    protected $ready = false;
78 78
 
79 79
     /**
80 80
      * This holds the singleton search objects with their core as array key
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
         $start = max(intval($start), 0);
330 330
 
331 331
         // Check if core already exists.
332
-        if (self::getInstance('dlfCore'.$start) === NULL) {
332
+        if (self::getInstance('dlfCore'.$start) === null) {
333 333
 
334 334
             return $start;
335 335
 
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
                 'core' => $this->core,
431 431
                 'pid' => $this->cPid,
432 432
                 'order' => 'score',
433
-                'order.asc' => TRUE,
433
+                'order.asc' => true,
434 434
                 'numberOfHits' => $this->numberOfHits,
435 435
                 'numberOfToplevelHits' => $numberOfToplevelHits
436 436
             )
@@ -465,7 +465,7 @@  discard block
 block discarded – undo
465 465
 
466 466
         $resultSet = [];
467 467
 
468
-        if (($entry = $cache->get($cacheIdentifier)) === FALSE) {
468
+        if (($entry = $cache->get($cacheIdentifier)) === false) {
469 469
 
470 470
             $selectQuery = $this->service->createSelect(array_merge($this->params, $parameters));
471 471
             $result = $this->service->select($selectQuery);
@@ -690,7 +690,7 @@  discard block
 block discarded – undo
690 690
             $this->core = $core;
691 691
 
692 692
             // Instantiation successful!
693
-            $this->ready = TRUE;
693
+            $this->ready = true;
694 694
 
695 695
         } catch (Exception $e) {
696 696
 
Please login to merge, or discard this patch.