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.
Completed
Push — 2.9 ( 2586bd...79c8b5 )
by Thorsten
13:40
created
phpmyfaq/feed/news/rss.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     }
63 63
 } else {
64 64
     $user = PMF_User_CurrentUser::getFromCookie($faqConfig);
65
-    if (! $user instanceof PMF_User_CurrentUser) {
65
+    if (!$user instanceof PMF_User_CurrentUser) {
66 66
         $user = PMF_User_CurrentUser::getFromSession($faqConfig);
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
phpmyfaq/admin/backup.import.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
                 $errorMessage = 'The uploaded file exceeds the upload_max_filesize directive in php.ini.';
124 124
                 break;
125 125
             case 2:
126
-                $errorMessage = 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the ' .
126
+                $errorMessage = 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the '.
127 127
                                 'HTML form.';
128 128
                 break;
129 129
             case 3:
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Helper/Search.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -208,8 +208,8 @@  discard block
 block discarded – undo
208 208
         $confPerPage = $this->_config->get('records.numberOfRecordsPerPage');
209 209
         $numOfResults = $resultSet->getNumberOfResults();
210 210
 
211
-        $totalPages = ceil($numOfResults / $confPerPage);
212
-        $lastPage = $currentPage * $confPerPage;
211
+        $totalPages = ceil($numOfResults/$confPerPage);
212
+        $lastPage = $currentPage*$confPerPage;
213 213
         $firstPage = $lastPage - $confPerPage;
214 214
         if ($lastPage > $numOfResults) {
215 215
             $lastPage = $numOfResults;
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
                 $oLink->itemTitle = $oLink->tooltip = $result->question;
287 287
 
288 288
                 $html .= '<li>';
289
-                $html .= $this->renderScore($result->score * 33);
289
+                $html .= $this->renderScore($result->score*33);
290 290
                 $html .= sprintf('<strong>%s</strong>: %s<br />',
291 291
                     $categoryInfo[0]['name'],
292 292
                     $oLink->toHtmlAnchor()
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Auth/Ldap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
                 }
216 216
 
217 217
                 if (false !== $this->ldap->getDn($login)) {
218
-                    $this->activeServer = (int) $key;
218
+                    $this->activeServer = (int)$key;
219 219
                     break;
220 220
                 }
221 221
             }
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
             htmlspecialchars_decode($password)
252 252
         );
253 253
 
254
-        if (! $this->ldap->bind($bindLogin, htmlspecialchars_decode($password))) {
254
+        if (!$this->ldap->bind($bindLogin, htmlspecialchars_decode($password))) {
255 255
             $this->errors[] = $this->ldap->error;
256 256
 
257 257
             return false;
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
                 }
289 289
 
290 290
                 if (false !== $this->ldap->getDn($login)) {
291
-                    $this->activeServer = (int) $key;
291
+                    $this->activeServer = (int)$key;
292 292
                     break;
293 293
                 }
294 294
             }
Please login to merge, or discard this patch.
phpmyfaq/admin/record.comments.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,9 +71,9 @@
 block discarded – undo
71 71
                     </a> |
72 72
                     <?php echo $date->format(date('Y-m-d H:i', $faqcomment['date'])) ?> |
73 73
                     <a href="<?php printf('../?action=artikel&cat=%d&id=%d&artlang=%s',
74
-                       $faqcomment['category_id'],
75
-                       $faqcomment['record_id'],
76
-                       $LANGCODE) ?>">
74
+                        $faqcomment['category_id'],
75
+                        $faqcomment['record_id'],
76
+                        $LANGCODE) ?>">
77 77
                         <?php echo $faq->getRecordTitle($faqcomment['record_id']) ?>
78 78
                     </a>
79 79
                 </span><br/>
Please login to merge, or discard this patch.
phpmyfaq/admin/image.browser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 if (!is_dir(PMF_ROOT_DIR.'/images')) {
67 67
     echo '<p class="alert alert-danger">'.sprintf($PMF_LANG['ad_dir_missing'], '/images').'</p>';
68 68
 } else {
69
-    $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(PMF_ROOT_DIR . '/images/'));
69
+    $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(PMF_ROOT_DIR.'/images/'));
70 70
     foreach ($files as $file) {
71 71
         if ($file->isDir() || !in_array($file->getExtension(), $allowedExtensions)) {
72 72
             continue;
@@ -74,9 +74,9 @@  discard block
 block discarded – undo
74 74
         $path = str_replace(dirname(__DIR__).'/', '', $file->getPath());
75 75
         printf(
76 76
             '<div class="mce-file" data-src="%s"><img src="%s" class="mce-file-preview">%s</div>',
77
-            $faqConfig->getDefaultUrl() . $path . '/' . $file->getFilename(),
78
-            $faqConfig->getDefaultUrl() . $path . '/' . $file->getFilename(),
79
-            $path . '/' . $file->getFilename()
77
+            $faqConfig->getDefaultUrl().$path.'/'.$file->getFilename(),
78
+            $faqConfig->getDefaultUrl().$path.'/'.$file->getFilename(),
79
+            $path.'/'.$file->getFilename()
80 80
         );
81 81
     }
82 82
 }
Please login to merge, or discard this patch.