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 (82b7d7)
by Sebastian
03:28 queued 53s
created
hooks/class.tx_dlf_em.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
                     $usergroup = array_unique(array_merge(array ($groupUid), $resArray['usergroup']));
174 174
 
175 175
                     // Try to configure user.
176
-                    $data = array();
176
+                    $data = array ();
177 177
                     $data['be_users'][$resArray['uid']] = array (
178 178
                         'admin' => 0,
179 179
                         'usergroup' => implode(',', $usergroup),
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
                 // Try to create user.
231 231
                 $tempUid = uniqid('NEW');
232 232
 
233
-                $data = array();
233
+                $data = array ();
234 234
                 $data['be_users'][$tempUid] = array (
235 235
                     'pid' => 0,
236 236
                     'username' => '_cli_dlf',
@@ -342,10 +342,10 @@  discard block
 block discarded – undo
342 342
 
343 343
         // Check if group "_cli_dlf" exists and is not disabled.
344 344
         $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
345
-            'uid,non_exclude_fields,tables_select,tables_modify,' .
345
+            'uid,non_exclude_fields,tables_select,tables_modify,'.
346 346
                 $GLOBALS['TCA']['be_groups']['ctrl']['enablecolumns']['disabled'],
347 347
             'be_groups',
348
-            'title=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_groups') .
348
+            'title='.$GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_groups').
349 349
                 \TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause('be_groups')
350 350
         );
351 351
 
@@ -388,8 +388,8 @@  discard block
 block discarded – undo
388 388
                     $tables_modify = array_unique(array_merge($settings['tables_modify'], $resArray['tables_modify']));
389 389
 
390 390
                     // Try to configure usergroup.
391
-                    $data = array();
392
-                    $data['be_groups'][$resArray['uid']] = array(
391
+                    $data = array ();
392
+                    $data['be_groups'][$resArray['uid']] = array (
393 393
                         'non_exclude_fields' => implode(',', $non_exclude_fields),
394 394
                         'tables_select' => implode(',', $tables_select),
395 395
                         'tables_modify' => implode(',', $tables_modify),
@@ -444,8 +444,8 @@  discard block
 block discarded – undo
444 444
                 // Try to create usergroup.
445 445
                 $tempUid = uniqid('NEW');
446 446
 
447
-                $data = array();
448
-                $data['be_groups'][$tempUid] = array(
447
+                $data = array ();
448
+                $data['be_groups'][$tempUid] = array (
449 449
                     'pid' => 0,
450 450
                     'title' => '_cli_dlf',
451 451
                     'description' => $GLOBALS['LANG']->getLL('cliUserGroup.grpDescription'),
Please login to merge, or discard this patch.
hooks/class.tx_dlf_hacks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      *
32 32
      * @return	void
33 33
      */
34
-    public function construct_postProcessRecordId(SimpleXMLElement &$xml, &$record_id) {
34
+    public function construct_postProcessRecordId(SimpleXMLElement & $xml, &$record_id) {
35 35
 
36 36
         if (!$record_id) {
37 37
 
Please login to merge, or discard this patch.
hooks/class.tx_dlf_tcemain.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
                             } else {
338 338
 
339 339
                                 // Reindex document.
340
-                                $doc =& tx_dlf_document::getInstance($id);
340
+                                $doc = & tx_dlf_document::getInstance($id);
341 341
 
342 342
                                 if ($doc->ready) {
343 343
 
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
                     case 'undelete':
423 423
 
424 424
                         // Reindex document.
425
-                        $doc =& tx_dlf_document::getInstance($id);
425
+                        $doc = & tx_dlf_document::getInstance($id);
426 426
 
427 427
                         if ($doc->ready) {
428 428
 
Please login to merge, or discard this patch.
hooks/class.tx_dlf_doctype.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
         if (!empty($this->piVars['id'])) {
162 162
 
163 163
             // Get instance of tx_dlf_document.
164
-            $this->doc =& tx_dlf_document::getInstance($this->piVars['id']);
164
+            $this->doc = & tx_dlf_document::getInstance($this->piVars['id']);
165 165
 
166 166
             if (!$this->doc->ready) {
167 167
 
Please login to merge, or discard this patch.
ext_emconf.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-$EM_CONF[$_EXTKEY] = array(
12
+$EM_CONF[$_EXTKEY] = array (
13 13
     'title' => 'Kitodo.Presentation',
14 14
     'description' => 'Base plugins, modules, services and API of the Digital Library Framework. It is part of the community-based Kitodo Digitization Suite.',
15 15
     'category' => 'fe',
@@ -27,14 +27,14 @@  discard block
 block discarded – undo
27 27
     'clearCacheOnLoad' => FALSE,
28 28
     'lockType' => '',
29 29
     'version' => '2.1.0',
30
-    'constraints' => array(
31
-        'depends' => array(
30
+    'constraints' => array (
31
+        'depends' => array (
32 32
             'php' => '5.3.7-',
33 33
             'typo3' => '6.2.0-7.9.99',
34 34
         ),
35
-        'conflicts' => array(
35
+        'conflicts' => array (
36 36
         ),
37
-        'suggests' => array(
37
+        'suggests' => array (
38 38
         ),
39 39
     ),
40 40
     '_md5_values_when_last_written' => '',
Please login to merge, or discard this patch.
plugins/listview/class.tx_dlf_listview.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
                         'page' => $this->list[$number]['page']
194 194
                     );
195 195
 
196
-                    if(!empty($this->piVars['logicalPage'])) {
196
+                    if (!empty($this->piVars['logicalPage'])) {
197 197
 
198 198
                         $additionalParams['logicalPage'] = $this->piVars['logicalPage'];
199 199
 
@@ -318,9 +318,9 @@  discard block
 block discarded – undo
318 318
             'forceAbsoluteUrl' => 1
319 319
         );
320 320
 
321
-        if(!empty($this->piVars['logicalPage'])) {
321
+        if (!empty($this->piVars['logicalPage'])) {
322 322
 
323
-            $linkConf['additionalParams'] = \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId,array('logicalPage' => $this->piVars['logicalPage']), '', TRUE, FALSE);
323
+            $linkConf['additionalParams'] = \TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl($this->prefixId, array ('logicalPage' => $this->piVars['logicalPage']), '', TRUE, FALSE);
324 324
 
325 325
         }
326 326
 
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
                             'highlight_word' => preg_replace('/\s\s+/', ';', $this->list->metadata['searchString'])
438 438
                         );
439 439
 
440
-                        if(!empty($this->piVars['logicalPage'])) {
440
+                        if (!empty($this->piVars['logicalPage'])) {
441 441
 
442 442
                             $additionalParams['logicalPage'] = $this->piVars['logicalPage'];
443 443
 
Please login to merge, or discard this patch.
plugins/navigation/class.tx_dlf_navigation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -139,9 +139,9 @@  discard block
 block discarded – undo
139 139
 
140 140
                 // Set default values if not set.
141 141
                 // $this->piVars['page'] may be integer or string (physical structure @ID)
142
-                if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) {
142
+                if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) {
143 143
 
144
-                    $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1);
144
+                    $this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1);
145 145
 
146 146
                 } else {
147 147
 
@@ -279,11 +279,11 @@  discard block
 block discarded – undo
279 279
         $markerArray['###LINKLISTVIEW###'] = $this->getLinkToListview();
280 280
 
281 281
         // fill some language labels if available
282
-        $markerArray['###ZOOM_IN###'] =  $this->pi_getLL('zoom-in', '', TRUE);
282
+        $markerArray['###ZOOM_IN###'] = $this->pi_getLL('zoom-in', '', TRUE);
283 283
         $markerArray['###ZOOM_OUT###'] = $this->pi_getLL('zoom-out', '', TRUE);
284 284
         $markerArray['###ZOOM_FULLSCREEN###'] = $this->pi_getLL('zoom-fullscreen', '', TRUE);
285 285
 
286
-        $markerArray['###ROTATE_LEFT###'] =  $this->pi_getLL('rotate-left', '', TRUE);
286
+        $markerArray['###ROTATE_LEFT###'] = $this->pi_getLL('rotate-left', '', TRUE);
287 287
         $markerArray['###ROTATE_RIGHT###'] = $this->pi_getLL('rotate-right', '', TRUE);
288 288
         $markerArray['###ROTATE_RESET###'] = $this->pi_getLL('rotate-reset', '', TRUE);
289 289
 
Please login to merge, or discard this patch.
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.