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 ( ac431c...70d621 )
by Thorsten
09:47
created
phpmyfaq/admin/category.main.php 2 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -321,19 +321,19 @@  discard block
 block discarded – undo
321 321
 
322 322
         if ($cat['lang'] == $lang) {
323 323
             // add sub category (if current language)
324
-           printf('
324
+            printf('
325 325
             <a class="btn btn-info btn-sm" href="?action=addcategory&amp;cat=%s&amp;lang=%s"><span title="%s" class="fa fa-plus fa-fw"></span></a> ',
326
-               $cat['id'],
327
-               $cat['lang'],
328
-               $PMF_LANG['ad_quick_category']
329
-           );
326
+                $cat['id'],
327
+                $cat['lang'],
328
+                $PMF_LANG['ad_quick_category']
329
+            );
330 330
 
331
-           // rename (sub) category (if current language)
332
-           printf('
331
+            // rename (sub) category (if current language)
332
+            printf('
333 333
                <a class="btn btn-info btn-sm" href="?action=editcategory&amp;cat=%s"><span title="%s" class="fa fa-edit fa-fw"></a> ',
334
-               $cat['id'],
335
-               $PMF_LANG['ad_kateg_rename']
336
-           );
334
+                $cat['id'],
335
+                $PMF_LANG['ad_kateg_rename']
336
+            );
337 337
         }
338 338
 
339 339
         // translate category (always)
@@ -357,20 +357,20 @@  discard block
 block discarded – undo
357 357
 
358 358
         if ($cat['lang'] == $lang) {
359 359
             // cut category (if current language)
360
-           printf(
361
-               '<a class="btn btn-warning btn-sm" href="?action=cutcategory&amp;cat=%s"><span title="%s" class="fa fa-cut fa-fw"></a> ',
362
-               $cat['id'],
363
-               $PMF_LANG['ad_categ_cut']
364
-           );
360
+            printf(
361
+                '<a class="btn btn-warning btn-sm" href="?action=cutcategory&amp;cat=%s"><span title="%s" class="fa fa-cut fa-fw"></a> ',
362
+                $cat['id'],
363
+                $PMF_LANG['ad_categ_cut']
364
+            );
365 365
 
366 366
             if ($category->numParent($cat['parent_id']) > 1) {
367 367
                 // move category (if current language) AND more than 1 category at the same level)
368
-              printf(
369
-                  '<a class="btn btn-warning btn-sm" href="?action=movecategory&amp;cat=%s&amp;parent_id=%s"><span title="%s" class="fa fa-sort fa-fw"></a> ',
370
-                  $cat['id'],
371
-                  $cat['parent_id'],
372
-                  $PMF_LANG['ad_categ_move']
373
-              );
368
+                printf(
369
+                    '<a class="btn btn-warning btn-sm" href="?action=movecategory&amp;cat=%s&amp;parent_id=%s"><span title="%s" class="fa fa-sort fa-fw"></a> ',
370
+                    $cat['id'],
371
+                    $cat['parent_id'],
372
+                    $PMF_LANG['ad_categ_move']
373
+                );
374 374
             }
375 375
         }
376 376
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
                             <i aria-hidden="true" class="fa fa-plus fa-fw"></i> <?php echo $PMF_LANG['ad_kateg_add']; ?>
37 37
                         </a>
38 38
                         <a class="btn btn-info" href="?action=showcategory">
39
-                            <i aria-hidden="true" class="fa fa-th fa-fw"></i> <?php echo $PMF_LANG['ad_categ_show'];?>
39
+                            <i aria-hidden="true" class="fa fa-th fa-fw"></i> <?php echo $PMF_LANG['ad_categ_show']; ?>
40 40
                         </a>
41 41
                     </div>
42 42
                 </h2>
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Mail.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -490,8 +490,8 @@
 block discarded – undo
490 490
         $this->headers['X-Mailer'] = $this->_mailer;
491 491
 
492 492
         // X-MSMail-Priority
493
-        if (isset($this->priorities[(int) $this->priority])) {
494
-            $this->headers['X-MSMail-Priority'] = $this->priorities[(int) $this->priority];
493
+        if (isset($this->priorities[(int)$this->priority])) {
494
+            $this->headers['X-MSMail-Priority'] = $this->priorities[(int)$this->priority];
495 495
         }
496 496
 
497 497
         // X-Originating-IP
Please login to merge, or discard this patch.
phpmyfaq/admin/ajax.config_list.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,8 +108,8 @@  discard block
 block discarded – undo
108 108
                         echo PMF_Language::languageOptions(
109 109
                             str_replace(
110 110
                                 array(
111
-                                     'language_',
112
-                                     '.php',
111
+                                        'language_',
112
+                                        '.php',
113 113
                                 ),
114 114
                                 '',
115 115
                                 $faqConfig->get('main.language')
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
                     } else {
121 121
                         echo '<option value="language_en.php">English</option>';
122 122
                     }
123
-                   break;
123
+                    break;
124 124
 
125 125
                 case 'records.orderby':
126 126
                     echo PMF_Configuration::sortingOptions($faqConfig->get($key));
Please login to merge, or discard this patch.
phpmyfaq/admin/stat.main.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
                     </tr>
135 135
                     <tr>
136 136
                         <td><?php echo $PMF_LANG['ad_stat_vpd'] ?>:</td>
137
-                        <td><?php echo ($danz != 0) ? round(($vanz / $danz), 2) : 0 ?></td>
137
+                        <td><?php echo ($danz != 0) ? round(($vanz/$danz), 2) : 0 ?></td>
138 138
                     </tr>
139 139
                     <tr>
140 140
                         <td><?php echo $PMF_LANG['ad_stat_fien'] ?>:</td>
Please login to merge, or discard this patch.
phpmyfaq/admin/record.edit.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -623,12 +623,15 @@  discard block
 block discarded – undo
623 623
                                         <input type="radio" name="active" value="no"
624 624
                                             <?php if (isset($sul)) { echo $sul; } ?>>
625 625
                                         <?php echo $PMF_LANG['ad_gen_no'] ?>
626
-                                <?php else: ?>
626
+                                <?php else {
627
+    : ?>
627 628
                                         <br>
628 629
                                         <input type="radio" name="active" value="no" checked>
629 630
                                         <?php echo $PMF_LANG['ad_gen_no'] ?>
630 631
 
631
-                                <?php endif; ?>
632
+                                <?php endif;
633
+}
634
+?>
632 635
                                     </label>
633 636
                             </div>
634 637
                         </div>
@@ -689,9 +692,12 @@  discard block
 block discarded – undo
689 692
                             </div>
690 693
                         </div>
691 694
                     </div>
692
-                    <?php else: ?>
695
+                    <?php else {
696
+    : ?>
693 697
                         <input type="hidden" name="grouppermission" value="all">
694
-                    <?php endif; ?>
698
+                    <?php endif;
699
+}
700
+?>
695 701
                     <div class="panel-heading">
696 702
                         <?php echo $PMF_LANG['ad_entry_userpermission']; ?>
697 703
                     </div>
Please login to merge, or discard this patch.
phpmyfaq/main.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         'writeNumberOfArticles' => $plr->getMsg('plmsgHomeArticlesOnline', $faq->getNumberOfRecords($LANGCODE)),
65 65
         'writeSendAdress' => '?'.$sids.'action=search',
66 66
         'searchBox' => $PMF_LANG['msgSearch'],
67
-        'categoryId' => ($cat === 0) ? '%' : (int) $cat,
67
+        'categoryId' => ($cat === 0) ? '%' : (int)$cat,
68 68
         'msgSearch' => sprintf(
69 69
             '<a class="help" href="%sindex.php?action=search">%s</a>',
70 70
             $faqSystem->getSystemUri($faqConfig),
Please login to merge, or discard this patch.
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/footer.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,12 +169,15 @@
 block discarded – undo
169 169
             action: 'ajax',
170 170
             ajax: 'recordAdd'
171 171
         };
172
-        <?php else: ?>
172
+        <?php else {
173
+    : ?>
173 174
         var data = {
174 175
             action: 'ajax',
175 176
             ajax: 'recordSave'
176 177
         };
177
-        <?php endif; ?>
178
+        <?php endif;
179
+}
180
+?>
178 181
 
179 182
         $.each($('#faqEditor').serializeArray(), function(i, field) {
180 183
             data[field.name] = field.value;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 <iframe id="keepPMFSessionAlive" src="session.keepalive.php?lang=<?php echo $LANGCODE ?>" width="0" height="0"
61 61
         style="display: none;"></iframe>
62 62
 <?php
63
-    if (isset($auth) && (('takequestion' == $action) || ('editentry' == $action) || ('editpreview'  == $action) ||
63
+    if (isset($auth) && (('takequestion' == $action) || ('editentry' == $action) || ('editpreview' == $action) ||
64 64
                          ('addnews' == $action) || ('editnews' == $action) || ('copyentry' == $action))) {
65 65
         if ($faqConfig->get('main.enableWysiwygEditor') == true) {
66 66
             ?>
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.