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 ( b34a1c...06de54 )
by Sebastian
03:26 queued 50s
created
dlf/plugins/audioplayer/class.tx_dlf_audioplayer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
 			$(document).ready(function() {
56 56
 				tx_dlf_audioplayer = new dlfAudioPlayer({
57 57
 					audio: {
58
-						mimeType: "' . $this->audio['mimetype'] . '",
59
-						title: "' . $this->audio['label'] . '",
60
-						url:  "' . $this->audio['url'] . '"
58
+						mimeType: "' . $this->audio['mimetype'].'",
59
+						title: "' . $this->audio['label'].'",
60
+						url:  "' . $this->audio['url'].'"
61 61
 					},
62 62
 					parentElId: "tx-dlf-audio",
63 63
 					swfPath: "'.\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath($this->extKey).'lib/jPlayer/jquery.jplayer.swf"
Please login to merge, or discard this patch.
dlf/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.
dlf/plugins/pageview/class.tx_dlf_pageview.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -86,11 +86,11 @@  discard block
 block discarded – undo
86 86
 			window.onload = function() {
87 87
 				if (dlfUtils.exists(dlfViewer)) {
88 88
 					tx_dlf_viewer = new dlfViewer({
89
-						controls: ["' . implode('", "', $this->controls) . '"],
90
-						div: "' . $this->conf['elementId'] . '",
91
-						images: ' . json_encode($this->images) . ',
92
-						fulltexts: '. json_encode($this->fulltexts) . ',
93
-						useInternalProxy: ' . ($this->conf['useInternalProxy'] ? 1 : 0) .'
89
+						controls: ["' . implode('", "', $this->controls).'"],
90
+						div: "' . $this->conf['elementId'].'",
91
+						images: ' . json_encode($this->images).',
92
+						fulltexts: '. json_encode($this->fulltexts).',
93
+						useInternalProxy: ' . ($this->conf['useInternalProxy'] ? 1 : 0).'
94 94
 					})
95 95
 				}
96 96
 			}
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      */
110 110
     protected function addInteraction() {
111 111
 
112
-        $markerArray = array();
112
+        $markerArray = array ();
113 113
 
114 114
         if ($this->piVars['id']) {
115 115
 
@@ -157,14 +157,14 @@  discard block
 block discarded – undo
157 157
      */
158 158
     protected function addBasketForm() {
159 159
 
160
-        $markerArray = array();
160
+        $markerArray = array ();
161 161
 
162 162
         // Add basket button
163 163
         if ($this->conf['basketButton'] && $this->conf['targetBasket'] && $this->piVars['id']) {
164 164
 
165 165
             $label = $this->pi_getLL('addBasket', '', TRUE);
166 166
 
167
-            $params = array(
167
+            $params = array (
168 168
                 'id' => $this->piVars['id'],
169 169
                 'addToBasket' => true
170 170
             );
@@ -344,9 +344,9 @@  discard block
 block discarded – undo
344 344
 
345 345
 			// Set default values if not set.
346 346
 			// $this->piVars['page'] may be integer or string (physical structure @ID)
347
-			if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) {
347
+			if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) {
348 348
 
349
-				$this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1);
349
+				$this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1);
350 350
 
351 351
 			} else {
352 352
 
Please login to merge, or discard this patch.
dlf/plugins/pagegrid/class.tx_dlf_pagegrid.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -225,9 +225,9 @@
 block discarded – undo
225 225
 
226 226
 		// Set some variable defaults.
227 227
 		// $this->piVars['page'] may be integer or string (physical structure @ID)
228
-		if ( (int)$this->piVars['page'] > 0 || empty($this->piVars['page'])) {
228
+		if ((int) $this->piVars['page'] > 0 || empty($this->piVars['page'])) {
229 229
 
230
-			$this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int)$this->piVars['page'], 1, $this->doc->numPages, 1);
230
+			$this->piVars['page'] = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange((int) $this->piVars['page'], 1, $this->doc->numPages, 1);
231 231
 
232 232
 		} else {
233 233
 
Please login to merge, or discard this patch.
dlf/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.
dlf/common/class.tx_dlf_helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1028,7 +1028,7 @@  discard block
 block discarded – undo
1028 1028
 
1029 1029
 					if ($flashMessage->getTitle() !== '') {
1030 1030
 
1031
-						$messageContent = sprintf('<h4>%s</h4>', htmlspecialchars($flashMessage->getTitle())) . $messageContent;
1031
+						$messageContent = sprintf('<h4>%s</h4>', htmlspecialchars($flashMessage->getTitle())).$messageContent;
1032 1032
 
1033 1033
 					}
1034 1034
 
@@ -1218,7 +1218,7 @@  discard block
 block discarded – undo
1218 1218
 						// Overlay localized labels if available.
1219 1219
 						if ($GLOBALS['TSFE']->sys_language_content > 0) {
1220 1220
 
1221
-							$resArray = $GLOBALS['TSFE']->sys_page->getRecordOverlay($table, $resArray,$GLOBALS['TSFE']->sys_language_content, $GLOBALS['TSFE']->sys_language_contentOL);
1221
+							$resArray = $GLOBALS['TSFE']->sys_page->getRecordOverlay($table, $resArray, $GLOBALS['TSFE']->sys_language_content, $GLOBALS['TSFE']->sys_language_contentOL);
1222 1222
 
1223 1223
 						}
1224 1224
 
Please login to merge, or discard this patch.
dlf/common/class.tx_dlf_module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 
106 106
 		$this->doc->setModuleTemplate('EXT:'.$this->extKey.'/modules/'.$this->modPath.'template.tmpl');
107 107
 
108
-		$this->doc->getPageRenderer()->addCssFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($this->extKey) . 'res/backend.css');
108
+		$this->doc->getPageRenderer()->addCssFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($this->extKey).'res/backend.css');
109 109
 
110 110
 		$this->doc->backPath = $GLOBALS['BACK_PATH'];
111 111
 
Please login to merge, or discard this patch.
dlf/common/class.tx_dlf_solr.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,12 +139,12 @@
 block discarded – undo
139 139
 		if (preg_match('/^[[:alnum:]]+_[tu][su]i:\(.*\)$/', $query)) {
140 140
 
141 141
 			// Get all indexed fields.
142
-			$fields = array();
142
+			$fields = array ();
143 143
 
144 144
 			$result = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
145 145
 				'tx_dlf_metadata.index_name,tx_dlf_metadata.index_tokenized,tx_dlf_metadata.index_stored',
146 146
 				'tx_dlf_metadata',
147
-				'tx_dlf_metadata.index_indexed=1 AND tx_dlf_metadata.pid=' . intval($pid) . ' AND (tx_dlf_metadata.sys_language_uid IN (-1,0) OR tx_dlf_metadata.l18n_parent=0)' . tx_dlf_helper::whereClause('tx_dlf_metadata'),
147
+				'tx_dlf_metadata.index_indexed=1 AND tx_dlf_metadata.pid='.intval($pid).' AND (tx_dlf_metadata.sys_language_uid IN (-1,0) OR tx_dlf_metadata.l18n_parent=0)'.tx_dlf_helper::whereClause('tx_dlf_metadata'),
148 148
 				'',
149 149
 				'',
150 150
 				''
Please login to merge, or discard this patch.
dlf/common/class.tx_dlf_plugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 			$pid = (!empty($this->conf['excludeOther']) ? intval($this->conf['pages']) : 0);
133 133
 
134 134
 			// Get instance of tx_dlf_document.
135
-			$this->doc =& tx_dlf_document::getInstance($this->piVars['id'], $pid);
135
+			$this->doc = & tx_dlf_document::getInstance($this->piVars['id'], $pid);
136 136
 
137 137
 			if (!$this->doc->ready) {
138 138
 
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
 
229 229
 			foreach ($this->conf['_DEFAULT_PI_VARS.'] as $GPkey => $GPval) {
230 230
 
231
-				if (strpos($GPkey,'.')) {
231
+				if (strpos($GPkey, '.')) {
232 232
 
233 233
 					$GPkey = substr($GPkey, 0, -1);
234 234
 
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
 
247 247
 			}
248 248
 
249
-			$this->piVars = tx_dlf_helper::array_merge_recursive_overrule($this->conf['_DEFAULT_PI_VARS.'], is_array($this->piVars) ? $this->piVars : array());
249
+			$this->piVars = tx_dlf_helper::array_merge_recursive_overrule($this->conf['_DEFAULT_PI_VARS.'], is_array($this->piVars) ? $this->piVars : array ());
250 250
 
251 251
 		}
252 252
 
Please login to merge, or discard this patch.