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
Push — master ( 82b7d7...c9e6b0 )
by Sebastian
02:23
created
plugins/toc/class.tx_dlf_toc.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -230,9 +230,9 @@
 block discarded – undo
230 230
 
231 231
             // Set default values for page if not set.
232 232
             // $this->piVars['page'] may be integer or string (physical structure @ID)
233
-            if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) {
233
+            if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) {
234 234
 
235
-                $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1);
235
+                $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1);
236 236
 
237 237
             } else {
238 238
 
Please login to merge, or discard this patch.
plugins/metadata/class.tx_dlf_metadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
         $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
214 214
             'tx_dlf_metadata.index_name AS index_name,tx_dlf_metadata.is_listed AS is_listed,tx_dlf_metadata.wrap AS wrap',
215 215
             'tx_dlf_metadata',
216
-            'tx_dlf_metadata.pid='.intval($this->conf['pages']).tx_dlf_helper::whereClause('tx_dlf_metadata').' AND (sys_language_uid IN (-1,0) OR (sys_language_uid = ' .$GLOBALS['TSFE']->sys_language_uid. ' AND l18n_parent = 0))',
216
+            'tx_dlf_metadata.pid='.intval($this->conf['pages']).tx_dlf_helper::whereClause('tx_dlf_metadata').' AND (sys_language_uid IN (-1,0) OR (sys_language_uid = '.$GLOBALS['TSFE']->sys_language_uid.' AND l18n_parent = 0))',
217 217
             '',
218 218
             'tx_dlf_metadata.sorting',
219 219
             ''
Please login to merge, or discard this patch.
plugins/search/class.tx_dlf_search.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -302,13 +302,13 @@  discard block
 block discarded – undo
302 302
         // Check for plugin configuration.
303 303
         if (!empty($this->conf['fulltext'])) {
304 304
 
305
-            $output .= ' <input class="tx-dlf-search-fulltext" id="tx-dlf-search-fulltext-no" type="radio" name="' . $this->prefixId . '[fulltext]" value="0" ' . ($isFulltextSearch == 0 ? 'checked="checked"' : '') .' />';
305
+            $output .= ' <input class="tx-dlf-search-fulltext" id="tx-dlf-search-fulltext-no" type="radio" name="'.$this->prefixId.'[fulltext]" value="0" '.($isFulltextSearch == 0 ? 'checked="checked"' : '').' />';
306 306
 
307
-            $output .= ' <label for="tx-dlf-search-fulltext-no">' . $this->pi_getLL('label.inMetadata', '') . '</label>';
307
+            $output .= ' <label for="tx-dlf-search-fulltext-no">'.$this->pi_getLL('label.inMetadata', '').'</label>';
308 308
 
309
-            $output .= ' <input class="tx-dlf-search-fulltext" id="tx-dlf-search-fulltext-yes" type="radio" name="' . $this->prefixId . '[fulltext]" value="1" ' . ($isFulltextSearch == 1 ? 'checked="checked"' : '') .'/>';
309
+            $output .= ' <input class="tx-dlf-search-fulltext" id="tx-dlf-search-fulltext-yes" type="radio" name="'.$this->prefixId.'[fulltext]" value="1" '.($isFulltextSearch == 1 ? 'checked="checked"' : '').'/>';
310 310
 
311
-            $output .= ' <label for="tx-dlf-search-fulltext-yes">' . $this->pi_getLL('label.inFulltext', '') . '</label>';
311
+            $output .= ' <label for="tx-dlf-search-fulltext-yes">'.$this->pi_getLL('label.inFulltext', '').'</label>';
312 312
 
313 313
         }
314 314
 
@@ -330,9 +330,9 @@  discard block
 block discarded – undo
330 330
         // Check for plugin configuration.
331 331
         if (!empty($this->conf['showLogicalPageField'])) {
332 332
 			
333
-            $output .= ' <label for="tx-dlf-search-logical-page">' . $this->pi_getLL('label.logicalPage', '') . ': </label>';
333
+            $output .= ' <label for="tx-dlf-search-logical-page">'.$this->pi_getLL('label.logicalPage', '').': </label>';
334 334
 			
335
-            $output .= ' <input class="tx-dlf-search-logical-page" id="tx-dlf-search-logical-page" type="text" name="' . $this->prefixId . '[logicalPage]" />';
335
+            $output .= ' <input class="tx-dlf-search-logical-page" id="tx-dlf-search-logical-page" type="text" name="'.$this->prefixId.'[logicalPage]" />';
336 336
 			
337 337
         }
338 338
 
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
      */
354 354
     protected function getFacetsMenuEntry($field, $value, $count, $search, &$state) {
355 355
 
356
-        $entryArray = array();
356
+        $entryArray = array ();
357 357
 
358 358
         // Translate value.
359 359
         if ($field == 'owner_faceting') {
@@ -553,7 +553,7 @@  discard block
 block discarded – undo
553 553
             if ((!empty($this->conf['fulltext']) && !empty($this->piVars['fulltext'])) || preg_match('/fulltext:\((.*)\)/', $this->piVars['query'], $matches)) {
554 554
 
555 555
                 // If the query already is a fulltext query e.g using the facets
556
-                $this->piVars['query'] = empty($matches[1])?$this->piVars['query']:$matches[1];
556
+                $this->piVars['query'] = empty($matches[1]) ? $this->piVars['query'] : $matches[1];
557 557
 
558 558
                 // Search in fulltext field if applicable. query must not be empty!
559 559
                 if (!empty($this->piVars['query'])) {
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
             // Add extended search query.
577 577
             if (!empty($this->piVars['extQuery']) && is_array($this->piVars['extQuery'])) {
578 578
 
579
-                $allowedOperators = array('AND', 'OR', 'NOT');
579
+                $allowedOperators = array ('AND', 'OR', 'NOT');
580 580
 
581 581
                 $allowedFields = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $this->conf['extendedFields'], TRUE);
582 582
 
@@ -679,22 +679,22 @@  discard block
 block discarded – undo
679 679
             // Clean output buffer.
680 680
             \TYPO3\CMS\Core\Utility\GeneralUtility::cleanOutputBuffers();
681 681
 
682
-            $additionalParams = array();
682
+            $additionalParams = array ();
683 683
 
684
-            if(!empty($this->piVars['logicalPage'])) {
684
+            if (!empty($this->piVars['logicalPage'])) {
685 685
 
686 686
                 $additionalParams['logicalPage'] = $this->piVars['logicalPage'];
687 687
 
688 688
             }
689 689
 
690 690
             // Jump directly to the page view, if there is only one result and it is configured
691
-            if($results->count() == 1 && !empty($this->conf['showSingleResult'])) {
691
+            if ($results->count() == 1 && !empty($this->conf['showSingleResult'])) {
692 692
 
693 693
                 $linkConf['parameter'] = $this->conf['targetPidPageView'];
694 694
 
695 695
                 $additionalParams['id'] = $results->current()['uid'];
696 696
                 $additionalParams['highlight_word'] = preg_replace('/\s\s+/', ';', $results->metadata['searchString']);
697
-                $additionalParams['page'] = count($results[0]['subparts']) == 1?$results[0]['subparts'][0]['page']:1;
697
+                $additionalParams['page'] = count($results[0]['subparts']) == 1 ? $results[0]['subparts'][0]['page'] : 1;
698 698
 
699 699
             } else {
700 700
 
Please login to merge, or discard this patch.
plugins/pageview/class.tx_dlf_geturl_eid.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,11 +63,11 @@
 block discarded – undo
63 63
         }
64 64
 
65 65
         // add some self calculated header tags
66
-        header('Last-Modified: ' . gmdate( "D, d M Y H:i:s" ) . 'GMT');
66
+        header('Last-Modified: '.gmdate("D, d M Y H:i:s").'GMT');
67 67
         header('Cache-Control: max-age=3600, must-revalidate');
68 68
         header('Content-Length: '.strlen($fetchedData));
69 69
         $fi = finfo_open(FILEINFO_MIME);
70
-        header('Content-Type: ' . finfo_buffer($fi, $fetchedData));
70
+        header('Content-Type: '.finfo_buffer($fi, $fetchedData));
71 71
 
72 72
         // take some tags from request header and overwrite in case already set
73 73
         $fetchedHeader = explode("\n", GeneralUtility::getUrl($url, 2));
Please login to merge, or discard this patch.
plugins/oai/class.tx_dlf_oai.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -955,7 +955,7 @@  discard block
 block discarded – undo
955 955
         $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
956 956
             'tx_dlf_documents.tstamp AS tstamp',
957 957
             'tx_dlf_documents',
958
-            'tx_dlf_documents.pid=' . intval($this->conf['pages']),
958
+            'tx_dlf_documents.pid='.intval($this->conf['pages']),
959 959
             '',
960 960
             'tx_dlf_documents.tstamp ASC',
961 961
             '1'
@@ -970,8 +970,8 @@  discard block
 block discarded – undo
970 970
 
971 971
             if (TYPO3_DLOG) {
972 972
 
973
-                \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_oai->verbIdentify()] No records found with PID "' .
974
-                            $this->conf['pages'] . '"', $this->extKey, SYSLOG_SEVERITY_NOTICE);
973
+                \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_oai->verbIdentify()] No records found with PID "'.
974
+                            $this->conf['pages'].'"', $this->extKey, SYSLOG_SEVERITY_NOTICE);
975 975
 
976 976
             }
977 977
 
Please login to merge, or discard this patch.
plugins/pagegrid/class.tx_dlf_pagegrid.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -233,9 +233,9 @@
 block discarded – undo
233 233
 
234 234
         // Set some variable defaults.
235 235
         // $this->piVars['page'] may be integer or string (physical structure @ID)
236
-        if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) {
236
+        if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) {
237 237
 
238
-            $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1);
238
+            $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1);
239 239
 
240 240
         } else {
241 241
 
Please login to merge, or discard this patch.
plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
 
60 60
             // Set default values if not set.
61 61
             // $this->piVars['page'] may be integer or string (physical structure @ID)
62
-            if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) {
62
+            if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) {
63 63
 
64
-                $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1);
64
+                $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1);
65 65
 
66 66
             } else {
67 67
 
@@ -126,9 +126,9 @@  discard block
 block discarded – undo
126 126
         }
127 127
 
128 128
         if (TYPO3_DLOG && empty($page1Link) && empty($page2Link)) {
129
-            \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_toolsPdf->getPageLink()] ' .
130
-                        'File not found in fileGrp "' .
131
-                        $this->conf['fileGrpDownload'] . '"',
129
+            \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_toolsPdf->getPageLink()] '.
130
+                        'File not found in fileGrp "'.
131
+                        $this->conf['fileGrpDownload'].'"',
132 132
                         $this->extKey,
133 133
                         SYSLOG_SEVERITY_WARNING);
134 134
         }
@@ -137,18 +137,18 @@  discard block
 block discarded – undo
137 137
         if (!empty($page1Link)) {
138 138
             if ($this->piVars['double']) {
139 139
                 $page1Link = $this->cObj->typoLink($this->pi_getLL('leftPage', ''),
140
-                    array('parameter' => $page1Link, 'title' => $this->pi_getLL('leftPage', '')));
140
+                    array ('parameter' => $page1Link, 'title' => $this->pi_getLL('leftPage', '')));
141 141
             } else {
142 142
                 $page1Link = $this->cObj->typoLink($this->pi_getLL('singlePage', ''),
143
-                    array('parameter' => $page1Link, 'title' => $this->pi_getLL('singlePage', '')));
143
+                    array ('parameter' => $page1Link, 'title' => $this->pi_getLL('singlePage', '')));
144 144
             }
145 145
         }
146 146
         if (!empty($page2Link)) {
147 147
             $page2Link = $this->cObj->typoLink($this->pi_getLL('rightPage', ''),
148
-                array('parameter' => $page2Link, 'title' => $this->pi_getLL('rightPage', '')));
148
+                array ('parameter' => $page2Link, 'title' => $this->pi_getLL('rightPage', '')));
149 149
         }
150 150
 
151
-        return $page1Link . $page2Link;
151
+        return $page1Link.$page2Link;
152 152
     }
153 153
 
154 154
     /**
Please login to merge, or discard this patch.
plugins/toolbox/tools/fulltext/class.tx_dlf_toolsFulltext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
             // Set default values if not set.
61 61
             // $this->piVars['page'] may be integer or string (physical structure @ID)
62
-            if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) {
62
+            if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) {
63 63
 
64 64
                 $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1);
65 65
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
                     .$this->pi_getLL('fulltext-on', '', TRUE).';fulltext-off:'
93 93
                     .$this->pi_getLL('fulltext-off', '', TRUE).'">&nbsp;</a>';
94 94
         } else {
95
-            $markerArray['###FULLTEXT_SELECT###'] = '<span class="no-fulltext">' . $this->pi_getLL('fulltext-not-available', '', TRUE) . '</span>';
95
+            $markerArray['###FULLTEXT_SELECT###'] = '<span class="no-fulltext">'.$this->pi_getLL('fulltext-not-available', '', TRUE).'</span>';
96 96
         }
97 97
 
98 98
         $content .= $this->cObj->substituteMarkerArray($this->template, $markerArray);
Please login to merge, or discard this patch.
plugins/toolbox/tools/imagedownload/class.tx_dlf_toolsImagedownload.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@  discard block
 block discarded – undo
58 58
 
59 59
             // Set default values if not set.
60 60
             // $this->piVars['page'] may be integer or string (physical structure @ID)
61
-            if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) {
61
+            if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) {
62 62
 
63
-                $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1);
63
+                $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1);
64 64
 
65 65
             } else {
66 66
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         }
85 85
 
86 86
         // Get left or single page download.
87
-        $markerArray['###IMAGE_LEFT###'] =  $this->piVars['double'] == 1 ? $this->getImage($this->piVars['page'], $this->pi_getLL('leftPage', '')) : $this->getImage($this->piVars['page'], $this->pi_getLL('singlePage', ''));
87
+        $markerArray['###IMAGE_LEFT###'] = $this->piVars['double'] == 1 ? $this->getImage($this->piVars['page'], $this->pi_getLL('leftPage', '')) : $this->getImage($this->piVars['page'], $this->pi_getLL('singlePage', ''));
88 88
 
89 89
         // Get right page download.
90 90
         $markerArray['###IMAGE_RIGHT###'] = $this->piVars['double'] == 1 ? $this->getImage($this->piVars['page'] + 1, $this->pi_getLL('rightPage', '')) : '';
@@ -131,11 +131,11 @@  discard block
 block discarded – undo
131 131
                 }
132 132
                 $linkConf = array (
133 133
                     'parameter' => $image['url'],
134
-                    'title' => $label . ' ' . $mimetypeLabel,
134
+                    'title' => $label.' '.$mimetypeLabel,
135 135
                     'additionalParams' => '',
136 136
                 );
137 137
 
138
-                $imageLink = $this->cObj->typoLink($label . ' ' . $mimetypeLabel, $linkConf);
138
+                $imageLink = $this->cObj->typoLink($label.' '.$mimetypeLabel, $linkConf);
139 139
 
140 140
                 break;
141 141
 
Please login to merge, or discard this patch.