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.

Code Duplication    Length = 9-9 lines in 18 locations

dlf/plugins/audioplayer/class.tx_dlf_audioplayer.php 1 location

@@ 130-138 (lines=9) @@
127
		}
128
129
		// Load template file.
130
		if (!empty($this->conf['templateFile'])) {
131
132
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
133
134
		} else {
135
136
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/audioplayer/template.tmpl'), '###TEMPLATE###');
137
138
		}
139
140
		// Fill in the template markers.
141
		$markerArray = array (

dlf/plugins/basket/class.tx_dlf_basket.php 1 location

@@ 42-50 (lines=9) @@
39
        $this->setCache(FALSE);
40
41
        // Load template file.
42
        if (!empty($this->conf['templateFile'])) {
43
44
            $this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
45
46
        } else {
47
48
            $this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/basket/template.tmpl'), '###TEMPLATE###');
49
50
        }
51
52
        $subpartArray['entry'] = $this->cObj->getSubpart($this->template, '###ENTRY###');
53

dlf/plugins/collection/class.tx_dlf_collection.php 1 location

@@ 63-71 (lines=9) @@
60
		}
61
62
		// Load template file.
63
		if (!empty($this->conf['templateFile'])) {
64
65
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
66
67
		} else {
68
69
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/collection/template.tmpl'), '###TEMPLATE###');
70
71
		}
72
73
		// Get hook objects.
74
		$this->hookObjects = tx_dlf_helper::getHookObjects($this->scriptRelPath);

dlf/plugins/metadata/class.tx_dlf_metadata.php 1 location

@@ 196-204 (lines=9) @@
193
	protected function printMetadata(array $metadataArray) {
194
195
		// Load template file.
196
		if (!empty($this->conf['templateFile'])) {
197
198
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
199
200
		} else {
201
202
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/metadata/template.tmpl'), '###TEMPLATE###');
203
204
		}
205
206
		$output = '';
207

dlf/plugins/newspaper/class.tx_dlf_newspaper.php 2 locations

@@ 69-77 (lines=9) @@
66
		}
67
68
		// Load template file.
69
		if (!empty($this->conf['templateFile'])) {
70
71
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATECALENDAR###');
72
73
		} else {
74
75
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/newspaper/template.tmpl'), '###TEMPLATECALENDAR###');
76
77
		}
78
79
		// Get all children of year anchor.
80
		$result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
@@ 346-354 (lines=9) @@
343
		}
344
345
		// Load template file.
346
		if (!empty($this->conf['templateFile'])) {
347
348
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATEYEAR###');
349
350
		} else {
351
352
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/newspaper/template.tmpl'), '###TEMPLATEYEAR###');
353
354
		}
355
356
		// Get subpart templates
357
		$subparts['year'] = $this->cObj->getSubpart($this->template, '###LISTYEAR###');

dlf/plugins/pagegrid/class.tx_dlf_pagegrid.php 1 location

@@ 201-209 (lines=9) @@
198
		}
199
200
		// Load template file.
201
		if (!empty($this->conf['templateFile'])) {
202
203
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
204
205
		} else {
206
207
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/pagegrid/template.tmpl'), '###TEMPLATE###');
208
209
		}
210
211
		$entryTemplate = $this->cObj->getSubpart($this->template, '###ENTRY###');
212

dlf/plugins/toc/class.tx_dlf_toc.php 1 location

@@ 173-181 (lines=9) @@
170
		}
171
172
		// Load template file.
173
		if (!empty($this->conf['templateFile'])) {
174
175
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
176
177
		} else {
178
179
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/toc/template.tmpl'), '###TEMPLATE###');
180
181
		}
182
183
		$TSconfig = array ();
184

dlf/plugins/toolbox/class.tx_dlf_toolbox.php 1 location

@@ 46-54 (lines=9) @@
43
		}
44
45
		// Load template file.
46
		if (!empty($this->conf['templateFile'])) {
47
48
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
49
50
		} else {
51
52
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/toolbox/template.tmpl'), '###TEMPLATE###');
53
54
		}
55
56
		// Build data array.
57
		$data = array (

dlf/plugins/toolbox/tools/imagemanipulation/class.tx_dlf_toolsImagemanipulation.php 1 location

@@ 45-53 (lines=9) @@
42
		$this->loadDocument();
43
44
		// Load template file.
45
		if (!empty($this->conf['toolTemplateFile'])) {
46
47
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['toolTemplateFile']), '###TEMPLATE###');
48
49
		} else {
50
51
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/toolbox/tools/imagemanipulation/template.tmpl'), '###TEMPLATE###');
52
53
		}
54
55
		$markerArray['###IMAGEMANIPULATION_SELECT###'] = '<span class="tx-dlf-tools-imagetools" id="tx-dlf-tools-imagetools" data-dic="imagemanipulation-on:'
56
			.$this->pi_getLL('imagemanipulation-on', '', TRUE).';imagemanipulation-off:'

dlf/plugins/validator/class.tx_dlf_validator.php 1 location

@@ 42-50 (lines=9) @@
39
		$this->setCache(FALSE);
40
41
		// Load template file.
42
		if (!empty($this->conf['templateFile'])) {
43
44
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
45
46
		} else {
47
48
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/validator/template.tmpl'), '###TEMPLATE###');
49
50
		}
51
52
		// Load current document.
53
		$this->loadDocument();

dlf/plugins/listview/class.tx_dlf_listview.php 1 location

@@ 632-640 (lines=9) @@
629
		}
630
631
		// Load template file.
632
		if (!empty($this->conf['templateFile'])) {
633
634
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
635
636
		} else {
637
638
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/listview/template.tmpl'), '###TEMPLATE###');
639
640
		}
641
642
		$subpartArray['entry'] = $this->cObj->getSubpart($this->template, '###ENTRY###');
643

dlf/plugins/navigation/class.tx_dlf_navigation.php 1 location

@@ 165-173 (lines=9) @@
162
		}
163
164
		// Load template file.
165
		if (!empty($this->conf['templateFile'])) {
166
167
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
168
169
		} else {
170
171
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/navigation/template.tmpl'), '###TEMPLATE###');
172
173
		}
174
175
		// Steps for X pages backward / forward. Double page view uses double steps.
176
		$pageSteps = $this->conf['pageStep'] * ($this->piVars['double'] + 1);

dlf/plugins/pageview/class.tx_dlf_pageview.php 1 location

@@ 370-378 (lines=9) @@
367
		}
368
369
		// Load template file.
370
		if (!empty($this->conf['templateFile'])) {
371
372
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
373
374
		} else {
375
376
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/pageview/template.tmpl'), '###TEMPLATE###');
377
378
		}
379
380
		// Get image data.
381
		$this->images[0] = $this->getImage($this->piVars['page']);

dlf/plugins/search/class.tx_dlf_search.php 1 location

@@ 482-490 (lines=9) @@
479
			}
480
481
			// Load template file.
482
			if (!empty($this->conf['templateFile'])) {
483
484
				$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['templateFile']), '###TEMPLATE###');
485
486
			} else {
487
488
				$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/search/template.tmpl'), '###TEMPLATE###');
489
490
			}
491
492
			// Configure @action URL for form.
493
			$linkConf = array (

dlf/plugins/toolbox/tools/fulltext/class.tx_dlf_toolsFulltext.php 1 location

@@ 77-85 (lines=9) @@
74
		}
75
76
		// Load template file.
77
		if (!empty($this->conf['toolTemplateFile'])) {
78
79
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['toolTemplateFile']), '###TEMPLATE###');
80
81
		} else {
82
83
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/toolbox/tools/fulltext/template.tmpl'), '###TEMPLATE###');
84
85
		}
86
87
88
		$fullTextFile = $this->doc->physicalStructureInfo[$this->doc->physicalStructure[$this->piVars['page']]]['files'][$this->conf['fileGrpFulltext']];

dlf/plugins/toolbox/tools/imagedownload/class.tx_dlf_toolsImagedownload.php 1 location

@@ 76-84 (lines=9) @@
73
		}
74
75
		// Load template file.
76
		if (!empty($this->conf['toolTemplateFile'])) {
77
78
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['toolTemplateFile']), '###TEMPLATE###');
79
80
		} else {
81
82
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/toolbox/tools/imagedownload/template.tmpl'), '###TEMPLATE###');
83
84
		}
85
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', ''));

dlf/plugins/toolbox/tools/pdf/class.tx_dlf_toolsPdf.php 1 location

@@ 77-85 (lines=9) @@
74
		}
75
76
		// Load template file.
77
		if (!empty($this->conf['toolTemplateFile'])) {
78
79
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource($this->conf['toolTemplateFile']), '###TEMPLATE###');
80
81
		} else {
82
83
			$this->template = $this->cObj->getSubpart($this->cObj->fileResource('EXT:dlf/plugins/toolbox/tools/pdf/template.tmpl'), '###TEMPLATE###');
84
85
		}
86
87
		// Get single page downloads.
88
		$markerArray['###PAGE###'] = $this->getPageLink();