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
class.ext_update.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         // check if tx_dlf_metadata.xpath exists anyhow
65 65
         $fieldsInDatabase = $GLOBALS['TYPO3_DB']->admin_get_fields('tx_dlf_metadata');
66 66
 
67
-        if (! in_array('xpath', array_keys($fieldsInDatabase))) {
67
+        if (!in_array('xpath', array_keys($fieldsInDatabase))) {
68 68
 
69 69
             return $uids;
70 70
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 
142 142
         while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) {
143 143
 			
144
-            if($resArray['column_name'] == 'tokenized' 
144
+            if ($resArray['column_name'] == 'tokenized' 
145 145
                 || $resArray['column_name'] == 'stored'
146 146
                 || $resArray['column_name'] == 'indexed'
147 147
                 || $resArray['column_name'] == 'boost'
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
         // Copy the content of the old tables to the new ones
174 174
         $result = $GLOBALS['TYPO3_DB']->sql_query($sqlQuery);
175 175
 
176
-        if($result) {
176
+        if ($result) {
177 177
 
178 178
             $message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
179 179
                 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage',
Please login to merge, or discard this patch.
modules/indexing/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         $this->list->save();
163 163
 
164 164
         // Save document to database and index.
165
-        $doc =& tx_dlf_document::getInstance($uid, 0, TRUE);
165
+        $doc = & tx_dlf_document::getInstance($uid, 0, TRUE);
166 166
 
167 167
         if ($doc->ready) {
168 168
 
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                         && \TYPO3\CMS\Core\Utility\GeneralUtility::isValidUrl($this->data['id'])) {
220 220
 
221 221
                         // Save document to database and index.
222
-                        $doc =& tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE);
222
+                        $doc = & tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE);
223 223
 
224 224
                         if ($doc->ready) {
225 225
 
Please login to merge, or discard this patch.
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.
common/class.tx_dlf_indexing.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @return	integer		0 on success or 1 on failure
90 90
      */
91
-    public static function add(tx_dlf_document &$doc, $core = 0) {
91
+    public static function add(tx_dlf_document & $doc, $core = 0) {
92 92
 
93 93
         if (in_array($doc->uid, self::$processedDocs)) {
94 94
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             // Handle multi-volume documents.
102 102
             if ($doc->parentId) {
103 103
 
104
-                $parent =& tx_dlf_document::getInstance($doc->parentId, 0, TRUE);
104
+                $parent = & tx_dlf_document::getInstance($doc->parentId, 0, TRUE);
105 105
 
106 106
                 if ($parent->ready) {
107 107
 
@@ -535,7 +535,7 @@  discard block
 block discarded – undo
535 535
      *
536 536
      * @return	integer		0 on success or 1 on failure
537 537
      */
538
-    protected static function processLogical(tx_dlf_document &$doc, array $logicalUnit) {
538
+    protected static function processLogical(tx_dlf_document & $doc, array $logicalUnit) {
539 539
 
540 540
         $errors = 0;
541 541
 
@@ -700,7 +700,7 @@  discard block
 block discarded – undo
700 700
      *
701 701
      * @return	integer		0 on success or 1 on failure
702 702
      */
703
-    protected static function processPhysical(tx_dlf_document &$doc, $page, array $physicalUnit) {
703
+    protected static function processPhysical(tx_dlf_document & $doc, $page, array $physicalUnit) {
704 704
 
705 705
         $errors = 0;
706 706
 
Please login to merge, or discard this patch.
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.
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.
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.
cli/class.tx_dlf_cli.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
                 }
90 90
 
91 91
                 // Get the document...
92
-                $doc =& tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], TRUE);
92
+                $doc = & tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], TRUE);
93 93
 
94 94
                 if ($doc->ready) {
95 95
 
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
                 while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) {
171 171
 
172 172
                     // Get the document...
173
-                    $doc =& tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], TRUE);
173
+                    $doc = & tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], TRUE);
174 174
 
175 175
                     if ($doc->ready) {
176 176
 
Please login to merge, or discard this patch.
ext_localconf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * LICENSE.txt file that was distributed with this source code.
10 10
  */
11 11
 
12
-if (!defined ('TYPO3_MODE')) {
12
+if (!defined('TYPO3_MODE')) {
13 13
     die ('Access denied.');
14 14
 }
15 15
 
Please login to merge, or discard this patch.