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 — master ( 757b9a...3f7054 )
by Sebastian
18s queued 15s
created
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/Common/AbstractPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
         if (!$cache) {
234 234
             $conf['no_cache'] = true;
235 235
         }
236
-        $conf['parameter'] = $altPageId ?: ($this->pi_tmpPageId ?: 'current');
236
+        $conf['parameter'] = $altPageId ? : ($this->pi_tmpPageId ? : 'current');
237 237
         $conf['additionalParams'] = $this->conf['parent.']['addParams'] . HttpUtility::buildQueryString($urlParameters, '&', true) . $this->pi_moreParams;
238 238
         // Add additional configuration for absolute URLs.
239 239
         $conf['forceAbsoluteUrl'] = !empty($this->conf['forceAbsoluteUrl']) ? 1 : 0;
Please login to merge, or discard this patch.
Classes/Plugin/OaiPmh.php 1 patch
Spacing   +2 added lines, -2 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
 
@@ -953,7 +953,7 @@  discard block
 block discarded – undo
953 953
      */
954 954
     protected function generateOutputForDocumentList(DocumentList $documentListSet)
955 955
     {
956
-        $documentsToProcess = $documentListSet->removeRange(0, (int)$this->conf['limit']);
956
+        $documentsToProcess = $documentListSet->removeRange(0, (int) $this->conf['limit']);
957 957
         $verb = $this->piVars['verb'];
958 958
 
959 959
         $connection = GeneralUtility::makeInstance(ConnectionPool::class)
Please login to merge, or discard this patch.
Classes/Plugin/Feeds.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,16 +121,16 @@
 block discarded – undo
121 121
                     $queryBuilder->expr()->eq('tx_dlf_collections.uid', $queryBuilder->quoteIdentifier('tx_dlf_documents_collections_mm.uid_foreign'))
122 122
                 )
123 123
                 ->where(
124
-                    $queryBuilder->expr()->eq('tx_dlf_documents.pid', $queryBuilder->createNamedParameter((int)$this->conf['pages'])),
124
+                    $queryBuilder->expr()->eq('tx_dlf_documents.pid', $queryBuilder->createNamedParameter((int) $this->conf['pages'])),
125 125
                     $queryBuilder->expr()->eq('tx_dlf_documents_collections_mm.ident', $queryBuilder->createNamedParameter('docs_colls')),
126
-                    $queryBuilder->expr()->eq('tx_dlf_collections.pid', $queryBuilder->createNamedParameter((int)$this->conf['pages'])),
126
+                    $queryBuilder->expr()->eq('tx_dlf_collections.pid', $queryBuilder->createNamedParameter((int) $this->conf['pages'])),
127 127
                     $additionalWhere,
128 128
                     Helper::whereExpression('tx_dlf_documents'),
129 129
                     Helper::whereExpression('tx_dlf_collections'),
130 130
                 )
131 131
                 ->groupBy('tx_dlf_documents.uid')
132 132
                 ->orderBy('tx_dlf_documents.tstamp', 'DESC')
133
-                ->setMaxResults((int)$this->conf['limit'])
133
+                ->setMaxResults((int) $this->conf['limit'])
134 134
                 ->execute();
135 135
             $rows = $result->fetchAll();
136 136
 
Please login to merge, or discard this patch.
Classes/Plugin/Eid/PageViewProxy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         if ($fetchedData) {
71 71
             $response->getBody()->write($fetchedData);
72 72
             $response = $response->withHeader('Access-Control-Allow-Methods', 'GET');
73
-            $response = $response->withHeader('Access-Control-Allow-Origin', $request->getHeaderLine('Origin') ?: '*');
73
+            $response = $response->withHeader('Access-Control-Allow-Origin', $request->getHeaderLine('Origin') ? : '*');
74 74
             $response = $response->withHeader('Access-Control-Max-Age', '86400');
75 75
             $response = $response->withHeader('Content-Type', finfo_buffer(finfo_open(FILEINFO_MIME), $fetchedData));
76 76
         }
Please login to merge, or discard this patch.
Classes/ExpressionLanguage/DocumentTypeFunctionProvider.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
     {
46 46
         return new ExpressionFunction(
47 47
             'getDocumentType',
48
-            function () {
48
+            function() {
49 49
                 // Not implemented, we only use the evaluator
50 50
             },
51
-            function ($arguments, $cPid) {
51
+            function($arguments, $cPid) {
52 52
                 /** @var RequestWrapper $requestWrapper */
53 53
                 $requestWrapper = $arguments['request'];
54 54
                 $queryParams = $requestWrapper->getQueryParams();
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,10 +58,12 @@
 block discarded – undo
58 58
     {
59 59
         return new ExpressionFunction(
60 60
             'getDocumentType',
61
-            function () {
61
+            function ()
62
+            {
62 63
                 // Not implemented, we only use the evaluator
63 64
             },
64
-            function ($arguments, $cPid) {
65
+            function ($arguments, $cPid)
66
+            {
65 67
                 /** @var RequestWrapper $requestWrapper */
66 68
                 $requestWrapper = $arguments['request'];
67 69
                 $queryParams = $requestWrapper->getQueryParams();
Please login to merge, or discard this patch.