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.
Passed
Pull Request — master (#503)
by Sebastian
02:59
created
Classes/Plugin/Eid/PageViewProxy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,11 +38,11 @@
 block discarded – undo
38 38
     public function main(ServerRequestInterface $request)
39 39
     {
40 40
         // header parameter for getUrl(); allowed values 0,1,2; default 0
41
-        $header = (int)$request->getQueryParams()['header'];
41
+        $header = (int) $request->getQueryParams()['header'];
42 42
         $header = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($header, 0, 2, 0);
43 43
 
44 44
         // the URI to fetch data or header from
45
-        $url = (string)$request->getQueryParams()['url'];
45
+        $url = (string) $request->getQueryParams()['url'];
46 46
         if (!GeneralUtility::isValidUrl($url)) {
47 47
             throw new \InvalidArgumentException('No valid url passed!', 1580482805);
48 48
         }
Please login to merge, or discard this patch.
Classes/Plugin/Eid/SearchSuggest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     /**
35 35
      * The main method of the eID script
36 36
      *
37
-    *  @param ServerRequestInterface $request
37
+     *  @param ServerRequestInterface $request
38 38
      * @return ResponseInterface XML response of search suggestions
39 39
      */
40 40
     public function main(ServerRequestInterface $request)
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
     public function main(ServerRequestInterface $request)
41 41
     {
42 42
         $parameters = $request->getParsedBody();
43
-        $encrypted = (string)$parameters['encrypted'];
44
-        $hashed = (string)$parameters['hashed'];
43
+        $encrypted = (string) $parameters['encrypted'];
44
+        $hashed = (string) $parameters['hashed'];
45 45
         if (empty($encrypted) || empty($hashed)) {
46 46
             throw new \InvalidArgumentException('No valid parameter passed!', 1580585079);
47 47
         }
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
         $output = '';
51 51
         if (!empty($core)) {
52
-            $query = (string)$parameters['q'];
52
+            $query = (string) $parameters['q'];
53 53
             $url = trim(Solr::getSolrUrl($core), '/') . '/suggest/?wt=xml&q=' . Solr::escapeQuery($query);
54 54
             $output = GeneralUtility::getUrl($url);
55 55
         }
Please login to merge, or discard this patch.
Classes/Plugin/Eid/SearchInDocument.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     public function main(ServerRequestInterface $request)
40 40
     {
41 41
         $parameters = $request->getParsedBody();
42
-        $encrypted = (string)$parameters['encrypted'];
43
-        $hashed = (string)$parameters['hashed'];
42
+        $encrypted = (string) $parameters['encrypted'];
43
+        $hashed = (string) $parameters['hashed'];
44 44
         if (empty($encrypted) || empty($hashed)) {
45 45
             throw new \InvalidArgumentException('No valid parameter passed!', 1580585079);
46 46
         }
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 
49 49
         $output = '';
50 50
         if (!empty($core)) {
51
-            $query = (string)$parameters['q'];
52
-            $uid = (string)$parameters['uid'];
53
-            $start = (string)$parameters['start'];
51
+            $query = (string) $parameters['q'];
52
+            $uid = (string) $parameters['uid'];
53
+            $start = (string) $parameters['start'];
54 54
             $url = trim(Solr::getSolrUrl($core), '/') . '/select?wt=json&q=fulltext:(' . Solr::escapeQuery($query) . ')%20AND%20uid:' . $uid
55 55
                 . '&hl=on&hl.fl=fulltext&fl=uid,id,page&hl.method=fastVector'
56 56
                 . '&start=' . $start . '&rows=20';
Please login to merge, or discard this patch.
class.ext_update.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
         }
117 117
         foreach ($rows as $row) {
118 118
             if ($row['format'] === 0 && $row['xpath']) {
119
-                $uids[] = (int)$row['uid'];
119
+                $uids[] = (int) $row['uid'];
120 120
             }
121 121
         }
122 122
         return $uids;
Please login to merge, or discard this patch.
Classes/Plugin/OaiPmh.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             ->delete('tx_dlf_tokens')
88 88
             ->where(
89 89
                 $queryBuilder->expr()->eq('tx_dlf_tokens.ident', $queryBuilder->createNamedParameter('oai')),
90
-                $queryBuilder->expr()->lt('tx_dlf_tokens.tstamp', $queryBuilder->createNamedParameter((int)($GLOBALS['EXEC_TIME'] - $this->conf['expired'])))
90
+                $queryBuilder->expr()->lt('tx_dlf_tokens.tstamp', $queryBuilder->createNamedParameter((int) ($GLOBALS['EXEC_TIME'] - $this->conf['expired'])))
91 91
             )
92 92
             ->execute();
93 93
 
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
 
470 470
         $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('tx_dlf_documents');
471 471
 
472
-        $sql =  'SELECT `tx_dlf_documents`.*, GROUP_CONCAT(DISTINCT `tx_dlf_collections`.oai_name ORDER BY tx_dlf_collections.oai_name SEPARATOR " ") AS `collections` ' .
472
+        $sql = 'SELECT `tx_dlf_documents`.*, GROUP_CONCAT(DISTINCT `tx_dlf_collections`.oai_name ORDER BY tx_dlf_collections.oai_name SEPARATOR " ") AS `collections` ' .
473 473
                 'FROM `tx_dlf_documents` ' .
474 474
                 'INNER JOIN `tx_dlf_relations` ON `tx_dlf_relations`.`uid_local` = `tx_dlf_documents`.`uid` ' .
475 475
                 'INNER JOIN `tx_dlf_collections` ON `tx_dlf_collections`.`uid` = `tx_dlf_relations`.`uid_foreign` ' .
@@ -479,12 +479,12 @@  discard block
 block discarded – undo
479 479
                 'AND tx_dlf_collections.pid = ? ' .
480 480
                 'AND tx_dlf_relations.ident="docs_colls"' .
481 481
                 $where .
482
-                Helper::whereClause('tx_dlf_collections', [ $this->piVars['identifier'] ]);
482
+                Helper::whereClause('tx_dlf_collections', [$this->piVars['identifier']]);
483 483
 
484 484
         $statement = $connection->prepare($sql);
485 485
         $statement->bindValue(1, $this->piVars['identifier']);
486
-        $statement->bindValue(2, (int)$this->conf['pages']);
487
-        $statement->bindValue(3, (int)$this->conf['pages']);
486
+        $statement->bindValue(2, (int) $this->conf['pages']);
487
+        $statement->bindValue(3, (int) $this->conf['pages']);
488 488
         $statement->execute();
489 489
 
490 490
         $resArray = $statement->fetch();
@@ -946,12 +946,12 @@  discard block
 block discarded – undo
946 946
      */
947 947
     protected function generateOutputForDocumentList(DocumentList $documentListSet)
948 948
     {
949
-        $documentsToProcess = $documentListSet->removeRange(0, (int)$this->conf['limit']);
949
+        $documentsToProcess = $documentListSet->removeRange(0, (int) $this->conf['limit']);
950 950
         $verb = $this->piVars['verb'];
951 951
 
952 952
         $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('tx_dlf_documents');
953 953
 
954
-        $sql =  'SELECT `tx_dlf_documents`.*, GROUP_CONCAT(DISTINCT `tx_dlf_collections`.oai_name ORDER BY tx_dlf_collections.oai_name SEPARATOR " ") AS `collections` ' .
954
+        $sql = 'SELECT `tx_dlf_documents`.*, GROUP_CONCAT(DISTINCT `tx_dlf_collections`.oai_name ORDER BY tx_dlf_collections.oai_name SEPARATOR " ") AS `collections` ' .
955 955
             'FROM `tx_dlf_documents` ' .
956 956
             'INNER JOIN `tx_dlf_relations` ON `tx_dlf_relations`.`uid_local` = `tx_dlf_documents`.`uid` ' .
957 957
             'INNER JOIN `tx_dlf_collections` ON `tx_dlf_collections`.`uid` = `tx_dlf_relations`.`uid_foreign` ' .
@@ -965,9 +965,9 @@  discard block
 block discarded – undo
965 965
 
966 966
         $documents = $connection->prepare($sql);
967 967
         $documents->bindValue(1, implode(',', $documentsToProcess));
968
-        $documents->bindValue(2, (int)$this->conf['pages']);
969
-        $documents->bindValue(3, (int)$this->conf['pages']);
970
-        $documents->bindValue(4, (int)$this->conf['limit']);
968
+        $documents->bindValue(2, (int) $this->conf['pages']);
969
+        $documents->bindValue(3, (int) $this->conf['pages']);
970
+        $documents->bindValue(4, (int) $this->conf['limit']);
971 971
         $documents->execute();
972 972
 
973 973
         $output = $this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', $verb);
Please login to merge, or discard this patch.