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
Branch master (585b6c)
by Sebastian
06:27
created
Classes/Plugin/Tools/ImageManipulationTool.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         }
46 46
         // Load template file.
47 47
         $this->getTemplate();
48
-        $markerArray['###IMAGEMANIPULATION_SELECT###'] = '<span class="tx-dlf-tools-imagetools" id="tx-dlf-tools-imagetools" data-dic="imagemanipulation-on:' . $this->pi_getLL('imagemanipulation-on', '', TRUE) . ';imagemanipulation-off:' . $this->pi_getLL('imagemanipulation-off', '', TRUE) . ';reset:' . $this->pi_getLL('reset', '', TRUE) . ';saturation:' . $this->pi_getLL('saturation', '', TRUE) . ';hue:' . $this->pi_getLL('hue', '', TRUE) . ';contrast:' . $this->pi_getLL('contrast', '', TRUE) . ';brightness:' . $this->pi_getLL('brightness', '', TRUE) . ';invert:' . $this->pi_getLL('invert', '', TRUE) . '" title="' . $this->pi_getLL('no-support', '', TRUE) . '"></span>';
48
+        $markerArray['###IMAGEMANIPULATION_SELECT###'] = '<span class="tx-dlf-tools-imagetools" id="tx-dlf-tools-imagetools" data-dic="imagemanipulation-on:'.$this->pi_getLL('imagemanipulation-on', '', TRUE).';imagemanipulation-off:'.$this->pi_getLL('imagemanipulation-off', '', TRUE).';reset:'.$this->pi_getLL('reset', '', TRUE).';saturation:'.$this->pi_getLL('saturation', '', TRUE).';hue:'.$this->pi_getLL('hue', '', TRUE).';contrast:'.$this->pi_getLL('contrast', '', TRUE).';brightness:'.$this->pi_getLL('brightness', '', TRUE).';invert:'.$this->pi_getLL('invert', '', TRUE).'" title="'.$this->pi_getLL('no-support', '', TRUE).'"></span>';
49 49
         $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray);
50 50
         return $this->pi_wrapInBaseClass($content);
51 51
     }
Please login to merge, or discard this patch.
Classes/Plugin/Tools/PdfDownloadTool.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
             empty($page1Link)
115 115
             && empty($page2Link)
116 116
         ) {
117
-            Helper::devLog('File not found in fileGrp "' . $this->conf['fileGrpDownload'] . '"', DEVLOG_SEVERITY_WARNING);
117
+            Helper::devLog('File not found in fileGrp "'.$this->conf['fileGrpDownload'].'"', DEVLOG_SEVERITY_WARNING);
118 118
         }
119 119
         // Wrap URLs with HTML.
120 120
         if (!empty($page1Link)) {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
         if (!empty($page2Link)) {
128 128
             $page2Link = $this->cObj->typoLink($this->pi_getLL('rightPage', ''), ['parameter' => $page2Link, 'title' => $this->pi_getLL('rightPage', '')]);
129 129
         }
130
-        return $page1Link . $page2Link;
130
+        return $page1Link.$page2Link;
131 131
     }
132 132
 
133 133
     /**
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         if (!empty($workLink)) {
154 154
             $workLink = $this->cObj->typoLink($this->pi_getLL('work', ''), ['parameter' => $workLink, 'title' => $this->pi_getLL('work', '')]);
155 155
         } else {
156
-            Helper::devLog('File not found in fileGrp "' . $this->conf['fileGrpDownload'] . '"', DEVLOG_SEVERITY_WARNING);
156
+            Helper::devLog('File not found in fileGrp "'.$this->conf['fileGrpDownload'].'"', DEVLOG_SEVERITY_WARNING);
157 157
         }
158 158
         return $workLink;
159 159
     }
Please login to merge, or discard this patch.
Classes/Plugin/Tools/SearchInDocumentTool.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
     protected function addSearchInDocumentJS()
109 109
     {
110 110
         $pageRenderer = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Page\PageRenderer::class);
111
-        $pageRenderer->addJsFooterFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath($this->extKey) . 'Resources/Public/Javascript/Search/SearchInDocument.js');
111
+        $pageRenderer->addJsFooterFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath($this->extKey).'Resources/Public/Javascript/Search/SearchInDocument.js');
112 112
     }
113 113
 
114 114
     /**
Please login to merge, or discard this patch.
Classes/Plugin/Tools/AnnotationTool.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,11 +76,11 @@
 block discarded – undo
76 76
         $annotationContainers = $this->doc->physicalStructureInfo[$this->doc->physicalStructure[$this->piVars['page']]]['annotationContainers'];
77 77
         if ($annotationContainers != NULL && sizeof($annotationContainers) > 0) {
78 78
             $markerArray['###ANNOTATION_SELECT###'] = '<a class="select switchoff" id="tx-dlf-tools-annotations" title="" data-dic="annotations-on:'
79
-                . $this->pi_getLL('annotations-on', '', TRUE) . ';annotations-off:'
80
-                . $this->pi_getLL('annotations-off', '', TRUE) . '">&nbsp;</a>';
79
+                . $this->pi_getLL('annotations-on', '', TRUE).';annotations-off:'
80
+                . $this->pi_getLL('annotations-off', '', TRUE).'">&nbsp;</a>';
81 81
             // TODO selector for different motivations
82 82
         } else {
83
-            $markerArray['###ANNOTATION_SELECT###'] = '<span class="no-annotations">' . $this->pi_getLL('annotations-not-available', '', TRUE) . '</span>';
83
+            $markerArray['###ANNOTATION_SELECT###'] = '<span class="no-annotations">'.$this->pi_getLL('annotations-not-available', '', TRUE).'</span>';
84 84
         }
85 85
         $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray);
86 86
         return $this->pi_wrapInBaseClass($content);
Please login to merge, or discard this patch.
Classes/Plugin/Tools/FulltextTool.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,9 +75,9 @@
 block discarded – undo
75 75
         $this->getTemplate();
76 76
         $fullTextFile = $this->doc->physicalStructureInfo[$this->doc->physicalStructure[$this->piVars['page']]]['files'][$this->conf['fileGrpFulltext']];
77 77
         if (!empty($fullTextFile)) {
78
-            $markerArray['###FULLTEXT_SELECT###'] = '<a class="select switchoff" id="tx-dlf-tools-fulltext" title="" data-dic="fulltext-on:' . $this->pi_getLL('fulltext-on', '', TRUE) . ';fulltext-off:' . $this->pi_getLL('fulltext-off', '', TRUE) . '">&nbsp;</a>';
78
+            $markerArray['###FULLTEXT_SELECT###'] = '<a class="select switchoff" id="tx-dlf-tools-fulltext" title="" data-dic="fulltext-on:'.$this->pi_getLL('fulltext-on', '', TRUE).';fulltext-off:'.$this->pi_getLL('fulltext-off', '', TRUE).'">&nbsp;</a>';
79 79
         } else {
80
-            $markerArray['###FULLTEXT_SELECT###'] = '<span class="no-fulltext">' . $this->pi_getLL('fulltext-not-available', '', TRUE) . '</span>';
80
+            $markerArray['###FULLTEXT_SELECT###'] = '<span class="no-fulltext">'.$this->pi_getLL('fulltext-not-available', '', TRUE).'</span>';
81 81
         }
82 82
         $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray);
83 83
         return $this->pi_wrapInBaseClass($content);
Please login to merge, or discard this patch.
Classes/Plugin/Tools/ImageDownloadTool.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -112,13 +112,13 @@
 block discarded – undo
112 112
                 }
113 113
                 $linkConf = [
114 114
                     'parameter' => $image['url'],
115
-                    'title' => $label . ' ' . $mimetypeLabel,
115
+                    'title' => $label.' '.$mimetypeLabel,
116 116
                     'additionalParams' => '',
117 117
                 ];
118
-                $imageLink = $this->cObj->typoLink($label . ' ' . $mimetypeLabel, $linkConf);
118
+                $imageLink = $this->cObj->typoLink($label.' '.$mimetypeLabel, $linkConf);
119 119
                 break;
120 120
             } else {
121
-                Helper::devLog('File not found in fileGrp "' . $fileGrp . '"', DEVLOG_SEVERITY_WARNING);
121
+                Helper::devLog('File not found in fileGrp "'.$fileGrp.'"', DEVLOG_SEVERITY_WARNING);
122 122
             }
123 123
         }
124 124
         return $imageLink;
Please login to merge, or discard this patch.
Classes/Plugin/Collection.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -168,12 +168,12 @@  discard block
 block discarded – undo
168 168
         foreach ($collections as $collection) {
169 169
             $solr_query = '';
170 170
             if ($collection['index_query'] != '') {
171
-                $solr_query .= '(' . $collection['index_query'] . ')';
171
+                $solr_query .= '('.$collection['index_query'].')';
172 172
             } else {
173
-                $solr_query .= 'collection:("' . $collection['index_name'] . '")';
173
+                $solr_query .= 'collection:("'.$collection['index_name'].'")';
174 174
             }
175
-            $partOfNothing = $solr->search_raw($solr_query . ' AND partof:0 AND toplevel:true', $params);
176
-            $partOfSomething = $solr->search_raw($solr_query . ' AND NOT partof:0 AND toplevel:true', $params);
175
+            $partOfNothing = $solr->search_raw($solr_query.' AND partof:0 AND toplevel:true', $params);
176
+            $partOfSomething = $solr->search_raw($solr_query.' AND NOT partof:0 AND toplevel:true', $params);
177 177
             // Titles are all documents that are "root" elements i.e. partof == 0
178 178
             $collection['titles'] = [];
179 179
             foreach ($partOfNothing as $doc) {
@@ -209,14 +209,14 @@  discard block
 block discarded – undo
209 209
             $markerArray[$_key]['###TITLE###'] = $this->cObj->typoLink(htmlspecialchars($collection['label']), $conf);
210 210
             // Add feed link if applicable.
211 211
             if (!empty($this->conf['targetFeed'])) {
212
-                $img = '<img src="' . \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath($this->extKey) . 'Resources/Public/Icons/txdlffeeds.png" alt="' . $this->pi_getLL('feedAlt', '', TRUE) . '" title="' . $this->pi_getLL('feedTitle', '', TRUE) . '" />';
212
+                $img = '<img src="'.\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath($this->extKey).'Resources/Public/Icons/txdlffeeds.png" alt="'.$this->pi_getLL('feedAlt', '', TRUE).'" title="'.$this->pi_getLL('feedTitle', '', TRUE).'" />';
213 213
                 $markerArray[$_key]['###FEED###'] = $this->pi_linkTP($img, [$this->prefixId => ['collection' => $collection['uid']]], FALSE, $this->conf['targetFeed']);
214 214
             } else {
215 215
                 $markerArray[$_key]['###FEED###'] = '';
216 216
             }
217 217
             // Add thumbnail.
218 218
             if (!empty($collection['thumbnail'])) {
219
-                $markerArray[$_key]['###THUMBNAIL###'] = '<img alt="" title="' . htmlspecialchars($collection['label']) . '" src="' . $collection['thumbnail'] . '" />';
219
+                $markerArray[$_key]['###THUMBNAIL###'] = '<img alt="" title="'.htmlspecialchars($collection['label']).'" src="'.$collection['thumbnail'].'" />';
220 220
             } else {
221 221
                 $markerArray[$_key]['###THUMBNAIL###'] = '';
222 222
             }
@@ -224,9 +224,9 @@  discard block
 block discarded – undo
224 224
             $markerArray[$_key]['###DESCRIPTION###'] = $this->pi_RTEcssText($collection['description']);
225 225
             // Build statistic's output.
226 226
             $labelTitles = $this->pi_getLL((count($collection['titles']) > 1 ? 'titles' : 'title'), '', FALSE);
227
-            $markerArray[$_key]['###COUNT_TITLES###'] = htmlspecialchars(count($collection['titles']) . $labelTitles);
227
+            $markerArray[$_key]['###COUNT_TITLES###'] = htmlspecialchars(count($collection['titles']).$labelTitles);
228 228
             $labelVolumes = $this->pi_getLL((count($collection['volumes']) > 1 ? 'volumes' : 'volume'), '', FALSE);
229
-            $markerArray[$_key]['###COUNT_VOLUMES###'] = htmlspecialchars(count($collection['volumes']) . $labelVolumes);
229
+            $markerArray[$_key]['###COUNT_VOLUMES###'] = htmlspecialchars(count($collection['volumes']).$labelVolumes);
230 230
         }
231 231
         // Randomize sorting?
232 232
         if (!empty($this->conf['randomize'])) {
@@ -296,13 +296,13 @@  discard block
 block discarded – undo
296 296
         if ($resArray = $collection->fetch()) {
297 297
             $collectionData = $resArray;
298 298
         } else {
299
-            Helper::devLog('No collection with UID ' . $id . ' found.', DEVLOG_SEVERITY_WARNING);
299
+            Helper::devLog('No collection with UID '.$id.' found.', DEVLOG_SEVERITY_WARNING);
300 300
             return;
301 301
         }
302 302
         if ($collectionData['index_search'] != '') {
303
-            $solr_query = '(' . $collectionData['index_search'] . ')';
303
+            $solr_query = '('.$collectionData['index_search'].')';
304 304
         } else {
305
-            $solr_query = 'collection:("' . $collectionData['index_name'] . '") AND toplevel:true';
305
+            $solr_query = 'collection:("'.$collectionData['index_name'].'") AND toplevel:true';
306 306
         }
307 307
         $solr = Solr::getInstance($this->conf['solrcore']);
308 308
         if (!$solr->ready) {
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
                         'source' => 'collection',
356 356
                         'select' => $id,
357 357
                         'userid' => $collectionData['userid'],
358
-                        'params' => ['filterquery' => [['query' => 'collection_faceting:("' . $collectionData['index_name'] . '")']]],
358
+                        'params' => ['filterquery' => [['query' => 'collection_faceting:("'.$collectionData['index_name'].'")']]],
359 359
                         'core' => '',
360 360
                         'pid' => $this->conf['pages'],
361 361
                         'order' => 'title',
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
         // Clean output buffer.
406 406
         ob_end_clean();
407 407
         // Send headers.
408
-        header('Location: ' . \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl($this->cObj->typoLink_URL(['parameter' => $this->conf['targetPid']])));
408
+        header('Location: '.\TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl($this->cObj->typoLink_URL(['parameter' => $this->conf['targetPid']])));
409 409
         exit;
410 410
     }
411 411
 }
Please login to merge, or discard this patch.
Classes/Plugin/Eid/PageViewProxy.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,10 +41,10 @@
 block discarded – undo
41 41
         $url = \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('url');
42 42
         $fetchedData = \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl($url, \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($header, 0, 2, 0));
43 43
         // Add some header tags
44
-        header('Last-Modified: ' . gmdate("D, d M Y H:i:s") . 'GMT');
44
+        header('Last-Modified: '.gmdate("D, d M Y H:i:s").'GMT');
45 45
         header('Cache-Control: max-age=3600, must-revalidate');
46
-        header('Content-Length: ' . strlen($fetchedData));
47
-        header('Content-Type: ' . finfo_buffer(finfo_open(FILEINFO_MIME), $fetchedData));
46
+        header('Content-Length: '.strlen($fetchedData));
47
+        header('Content-Type: '.finfo_buffer(finfo_open(FILEINFO_MIME), $fetchedData));
48 48
         // Get last modified date from request header
49 49
         $fetchedHeader = explode("\n", \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl($url, 2));
50 50
         foreach ($fetchedHeader as $headerline) {
Please login to merge, or discard this patch.
Classes/Plugin/Eid/SearchInDocument.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,9 +47,9 @@
 block discarded – undo
47 47
             $core = Helper::decrypt(GeneralUtility::_GP('encrypted'), GeneralUtility::_GP('hashed'));
48 48
         }
49 49
         if (!empty($core)) {
50
-            $url = trim(Solr::getSolrUrl($core), '/') . '/select?wt=json&q=fulltext:(' . Solr::escapeQuery(GeneralUtility::_GP('q')) . ')%20AND%20uid:' . GeneralUtility::_GP('uid')
50
+            $url = trim(Solr::getSolrUrl($core), '/').'/select?wt=json&q=fulltext:('.Solr::escapeQuery(GeneralUtility::_GP('q')).')%20AND%20uid:'.GeneralUtility::_GP('uid')
51 51
                 . '&hl=on&hl.fl=fulltext&fl=uid,id,page&hl.method=fastVector'
52
-                . '&start=' . GeneralUtility::_GP('start') . '&rows=20';
52
+                . '&start='.GeneralUtility::_GP('start').'&rows=20';
53 53
             $output = GeneralUtility::getUrl($url);
54 54
         }
55 55
         echo $output;
Please login to merge, or discard this patch.