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 ( 28c5d1...c3ab3a )
by Thorsten
16:09 queued 03:14
created
phpmyfaq/admin/att.main.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 $itemsPerPage = 32;
34 34
 $allCrumbs = $fa->getBreadcrumbs();
35 35
 
36
-$crumbs = array_slice($allCrumbs, ($page - 1) * $itemsPerPage, $itemsPerPage);
36
+$crumbs = array_slice($allCrumbs, ($page - 1)*$itemsPerPage, $itemsPerPage);
37 37
 
38 38
 $pagination = new PMF_Pagination(
39 39
     $faqConfig,
Please login to merge, or discard this patch.
phpmyfaq/admin/attachment.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
 }
111 111
 if (is_null($currentAction) && $auth && $user->perm->checkRight($user->getUserId(), 'addattachment')) {
112
-    $recordId = filter_input(INPUT_GET, 'record_id',   FILTER_VALIDATE_INT);
112
+    $recordId = filter_input(INPUT_GET, 'record_id', FILTER_VALIDATE_INT);
113 113
     $recordLang = filter_input(INPUT_GET, 'record_lang', FILTER_SANITIZE_STRING);
114 114
     ?>
115 115
         <form action="attachment.php?action=save" enctype="multipart/form-data" method="post" accept-charset="utf-8">
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             <legend>
118 118
                 <?php echo $PMF_LANG['ad_att_addto'].' '.$PMF_LANG['ad_att_addto_2'];
119 119
     ?>
120
-                (max <?php echo round($faqConfig->get('records.maxAttachmentSize') / pow(1024, 2), 2) ?> MB)
120
+                (max <?php echo round($faqConfig->get('records.maxAttachmentSize')/pow(1024, 2), 2) ?> MB)
121 121
             </legend>
122 122
                 <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $faqConfig->get('records.maxAttachmentSize');
123 123
     ?>" />
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
 if (!is_null($currentSave) && $currentSave == true && $auth &&
153 153
     $user->perm->checkRight($user->getUserId(), 'addattachment')) {
154
-    $recordId = filter_input(INPUT_POST, 'record_id',   FILTER_VALIDATE_INT);
154
+    $recordId = filter_input(INPUT_POST, 'record_id', FILTER_VALIDATE_INT);
155 155
     $recordLang = filter_input(INPUT_POST, 'record_lang', FILTER_SANITIZE_STRING);
156 156
     ?>
157 157
 <p><strong><?php echo $PMF_LANG['ad_att_addto'].' '.$PMF_LANG['ad_att_addto_2'];
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
             '<p>%s</p>',
193 193
             sprintf(
194 194
                 $PMF_LANG['ad_attach_4'],
195
-                round($faqConfig->get('records.maxAttachmentSize') / pow(1024, 2), 2)
195
+                round($faqConfig->get('records.maxAttachmentSize')/pow(1024, 2), 2)
196 196
             )
197 197
         );
198 198
 
Please login to merge, or discard this patch.
phpmyfaq/admin/category.showstructure.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             'parent_id' => $parent_id,
52 52
             'name' => PMF_Filter::filterInput(INPUT_POST, 'name', FILTER_SANITIZE_STRING),
53 53
             'description' => PMF_Filter::filterInput(INPUT_POST, 'description', FILTER_SANITIZE_STRING),
54
-            'user_id' => PMF_Filter::filterInput(INPUT_POST, 'user_id', FILTER_VALIDATE_INT), );
54
+            'user_id' => PMF_Filter::filterInput(INPUT_POST, 'user_id', FILTER_VALIDATE_INT),);
55 55
 
56 56
         // translate.category only returns non-existent languages to translate too
57 57
         if ($category->addCategory($category_data, $parent_id, $category_data['id'])) {
Please login to merge, or discard this patch.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -99,14 +99,14 @@
 block discarded – undo
99 99
         print '<td>';
100 100
         if ($cat['lang'] != $LANGCODE) {
101 101
             // translate category
102
-           printf(
103
-               '<a href="%s?action=translatecategory&amp;cat=%s&amp;trlang=%s" title="%s"><span title="%s" class="fa fa-share"></span></a></a>',
104
-               $currentLink,
105
-               $cat['id'],
106
-               $LANGCODE,
107
-               $PMF_LANG['ad_categ_translate'],
108
-               $PMF_LANG['ad_categ_translate']
109
-           );
102
+            printf(
103
+                '<a href="%s?action=translatecategory&amp;cat=%s&amp;trlang=%s" title="%s"><span title="%s" class="fa fa-share"></span></a></a>',
104
+                $currentLink,
105
+                $cat['id'],
106
+                $LANGCODE,
107
+                $PMF_LANG['ad_categ_translate'],
108
+                $PMF_LANG['ad_categ_translate']
109
+            );
110 110
         }
111 111
         printf('&nbsp;%s<strong>%s</strong>',
112 112
             $indent,
Please login to merge, or discard this patch.
phpmyfaq/admin/category.translate.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,9 +68,11 @@
 block discarded – undo
68 68
                     <?php if ($faqConfig->get('security.permLevel') !== 'basic'): ?>
69 69
                     <input type="hidden" name="restricted_groups" value="<?php print $group_permission[0];
70 70
     ?>" />
71
-                    <?php else: ?>
71
+                    <?php else {
72
+    : ?>
72 73
                     <input type="hidden" name="restricted_groups" value="-1" />
73 74
                     <?php endif;
75
+}
74 76
     ?>
75 77
                     <input type="hidden" name="restricted_users" value="<?php print $user_permission[0];
76 78
     ?>" />
Please login to merge, or discard this patch.
phpmyfaq/admin/dashboard.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
                     $getJson = PMF_Filter::filterInput(INPUT_POST, 'getJson', FILTER_SANITIZE_STRING);
191 191
                     if (!is_null($getJson) && 'verify' === $getJson) {
192 192
                         set_error_handler(
193
-                            function ($severity, $message, $file, $line) {
193
+                            function($severity, $message, $file, $line) {
194 194
                                 throw new ErrorException($message, $severity, $severity, $file, $line);
195 195
                             }
196 196
                         );
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,11 @@
 block discarded – undo
38 38
                     <a href="?action=config">
39 39
                         <?php if ($faqConfig->get('main.maintenanceMode')): ?>
40 40
                         <span class="label label-important"><?php print $PMF_LANG['msgMaintenanceMode']; ?></span>
41
-                        <?php else: ?>
42
-                        <span class="label label-success"><?php print $PMF_LANG['msgOnlineMode']; ?></span>
41
+                        <?php else {
42
+    : ?>
43
+                        <span class="label label-success"><?php print $PMF_LANG['msgOnlineMode'];
44
+}
45
+?></span>
43 46
                         <?php endif; ?>
44 47
                     </a>
45 48
                 </div>
Please login to merge, or discard this patch.
phpmyfaq/admin/footer.php 2 patches
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;
61 61
     ?>" width="0" height="0"></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.
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.
phpmyfaq/admin/group.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
             $message .= sprintf('<p class="alert alert-danger">%s</p>', $PMF_LANG['ad_msg_mysqlerr']);
68 68
         }
69 69
         foreach ($groupMembers as $memberId) {
70
-            $perm->addToGroup((int) $memberId, $groupId);
70
+            $perm->addToGroup((int)$memberId, $groupId);
71 71
         }
72 72
         $message .= sprintf('<p class="alert alert-success">%s <strong>%s</strong> %s</p>',
73 73
             $PMF_LANG['ad_msg_savedsuc_1'],
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             $message .= sprintf('<p class="alert alert-danger">%s</p>', $PMF_LANG['ad_msg_mysqlerr']);
92 92
         }
93 93
         foreach ($groupRights as $rightId) {
94
-            $perm->grantGroupRight($groupId, (int) $rightId);
94
+            $perm->grantGroupRight($groupId, (int)$rightId);
95 95
         }
96 96
         $message .= sprintf('<p class="alert alert-success">%s <strong>%s</strong> %s</p>',
97 97
             $PMF_LANG['ad_msg_savedsuc_1'],
Please login to merge, or discard this patch.
phpmyfaq/admin/news.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -510,7 +510,7 @@  discard block
 block discarded – undo
510 510
         'active' => (is_null($active)) ? 'n' : 'y',
511 511
         'comment' => (is_null($comment)) ? 'n' : 'y',
512 512
         'dateStart' => (empty($dateStart)) ? '00000000000000' : str_replace('-', '', $dateStart).'000000',
513
-        'dateEnd' => (empty($dateEnd))  ? '99991231235959' : str_replace('-', '', $dateEnd).'235959',
513
+        'dateEnd' => (empty($dateEnd)) ? '99991231235959' : str_replace('-', '', $dateEnd).'235959',
514 514
         'link' => $link,
515 515
         'linkTitle' => $linktitle,
516 516
         'date' => date('YmdHis'),
@@ -562,7 +562,7 @@  discard block
 block discarded – undo
562 562
         'active' => (is_null($active)) ? 'n' : 'y',
563 563
         'comment' => (is_null($comment)) ? 'n' : 'y',
564 564
         'dateStart' => (empty($dateStart)) ? '00000000000000' : str_replace('-', '', $dateStart).'000000',
565
-        'dateEnd' => (empty($dateEnd))   ? '99991231235959' : str_replace('-', '', $dateEnd).'235959',
565
+        'dateEnd' => (empty($dateEnd)) ? '99991231235959' : str_replace('-', '', $dateEnd).'235959',
566 566
         'link' => $link,
567 567
         'linkTitle' => $linktitle,
568 568
         'date' => date('YmdHis'),
Please login to merge, or discard this patch.
phpmyfaq/admin/record.show.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -223,11 +223,11 @@  discard block
 block discarded – undo
223 223
                     $fdTable.'.active AS active',
224 224
                     $fdTable.'.thema AS thema',
225 225
                     $fdTable.'.content AS content',
226
-                    $fdTable.'.updated AS updated', ))
226
+                    $fdTable.'.updated AS updated',))
227 227
             ->setJoinedTable($fcrTable)
228 228
             ->setJoinedColumns(array(
229 229
                     $fdTable.'.id = '.$fcrTable.'.record_id',
230
-                    $fdTable.'.lang = '.$fcrTable.'.record_lang', ));
230
+                    $fdTable.'.lang = '.$fcrTable.'.record_lang',));
231 231
 
232 232
         if (is_numeric($searchTerm)) {
233 233
             $search->setMatchingColumns(array($fdTable.'.solution_id'));
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
         $faqsFound = array();
244 244
 
245 245
         while ($row = $faqConfig->getDb()->fetchObject($result)) {
246
-            if ($searchCat != 0 && $searchCat != (int) $row->category_id) {
246
+            if ($searchCat != 0 && $searchCat != (int)$row->category_id) {
247 247
                 continue;
248 248
             }
249 249
 
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
                                             <input type="checkbox" lang="<?php echo $record['lang'] ?>"
444 444
                                                onclick="saveStatus(<?php echo $cid.', ['.$record['id'].']' ?>, 'sticky', '<?php echo $user->getCsrfTokenFromSession() ?>');"
445 445
                                                id="sticky_record_<?php echo $cid.'_'.$record['id'] ?>"
446
-                                            <?php echo($record['sticky'] ? 'checked' :  '    ') ?>>
446
+                                            <?php echo($record['sticky'] ? 'checked' : '    ') ?>>
447 447
                                         </label>
448 448
                                     </td>
449 449
                                     <td>
Please login to merge, or discard this patch.