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 — 3.0 ( 0a9b70...5f8ce3 )
by Thorsten
03:19
created
phpmyfaq/admin/ajax.group.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         foreach ($userList as $single_user) {
67 67
             $user->getUserById($single_user, true);
68 68
             $users[] = array('user_id' => $user->getUserId(),
69
-                                'login' => $user->getLogin(), );
69
+                                'login' => $user->getLogin(),);
70 70
         }
71 71
         echo json_encode($users);
72 72
     }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         foreach ($memberList as $single_member) {
79 79
             $user->getUserById($single_member, true);
80 80
             $members[] = array('user_id' => $user->getUserId(),
81
-                                'login' => $user->getLogin(), );
81
+                                'login' => $user->getLogin(),);
82 82
         }
83 83
         echo json_encode($members);
84 84
     }
Please login to merge, or discard this patch.
phpmyfaq/src/phpMyFAQ/Utils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -409,7 +409,7 @@
 block discarded – undo
409 409
     }
410 410
     /**
411 411
      * Creates a seed with microseconds.
412
-     * @return integer|null
412
+     * @return double
413 413
      */
414 414
     private static function makeSeed()
415 415
     {
Please login to merge, or discard this patch.
phpmyfaq/admin/record.edit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -496,7 +496,7 @@
 block discarded – undo
496 496
                           </label>
497 497
                           <select name="restricted_groups[]" size="3" class="form-control" multiple>
498 498
                               <?php
499
-                                if ( $faqConfig->get('main.enableCategoryRestrictions')) {
499
+                                if ($faqConfig->get('main.enableCategoryRestrictions')) {
500 500
                                     echo $user->perm->getAllGroupsOptions($groupPermission, $currentUserId);
501 501
                                 } else {
502 502
                                     echo $user->perm->getAllGroupsOptions($groupPermission);
Please login to merge, or discard this patch.
phpmyfaq/admin/ajax.image.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
                 $temp = current($_FILES);
50 50
                 if (is_uploaded_file($temp['tmp_name'])) {
51 51
                     if (isset($_SERVER['HTTP_ORIGIN'])) {
52
-                        if ($_SERVER['HTTP_ORIGIN'] . '/' === $faqConfig->getDefaultUrl()) {
52
+                        if ($_SERVER['HTTP_ORIGIN'].'/' === $faqConfig->getDefaultUrl()) {
53 53
                             $http->sendCorsHeader();
54 54
                         } else {
55 55
                             $http->sendStatus(403);
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
                     }
71 71
 
72 72
                     // Accept upload if there was no origin, or if it is an accepted origin
73
-                    $fileToWrite = $uploadDir . $temp['name'];
73
+                    $fileToWrite = $uploadDir.$temp['name'];
74 74
                     move_uploaded_file($temp['tmp_name'], $fileToWrite);
75 75
 
76 76
                     // Respond to the successful upload with JSON.
Please login to merge, or discard this patch.
phpmyfaq/admin/ajax.autosave.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     $dateEnd = Filter::filterInput(INPUT_POST, 'dateEnd', FILTER_SANITIZE_STRING);
45 45
     $question = Filter::filterInput(INPUT_POST, 'question', FILTER_SANITIZE_STRING);
46 46
     $categories = Filter::filterInputArray(INPUT_POST, array('rubrik' => array('filter' => FILTER_VALIDATE_INT,
47
-                                                                                        'flags' => FILTER_REQUIRE_ARRAY, )));
47
+                                                                                        'flags' => FILTER_REQUIRE_ARRAY,)));
48 48
     $record_lang = Filter::filterInput(INPUT_POST, 'lang', FILTER_SANITIZE_STRING);
49 49
     $tags = Filter::filterInput(INPUT_POST, 'tags', FILTER_SANITIZE_STRING);
50 50
     $active = Filter::filterInput(INPUT_POST, 'active', FILTER_SANITIZE_STRING);
Please login to merge, or discard this patch.
phpmyfaq/admin/category.translate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
                   <ul class="list-unstyled">
112 112
                       <?php
113 113
                         foreach ($category->getCategoryLanguagesTranslated($id) as $language => $description) {
114
-                            echo '<input type="text" readonly class="form-control-plaintext" id="staticEmail" value="' . $language . ': ' . $description . '">';
114
+                            echo '<input type="text" readonly class="form-control-plaintext" id="staticEmail" value="'.$language.': '.$description.'">';
115 115
                         }
116 116
                         ?>
117 117
                   </ul>
Please login to merge, or discard this patch.
phpmyfaq/admin/ajax.section.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         foreach ($memberList as $single_member) {
62 62
             $group = $user->perm->getGroupData($single_member);
63 63
             $members[] = array('group_id' => $group['group_id'],
64
-                                'name' => $group['name'] );
64
+                                'name' => $group['name']);
65 65
         }
66 66
         echo json_encode($members);
67 67
     }
Please login to merge, or discard this patch.
phpmyfaq/admin/ajax.records.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
                     foreach ($items as $item) {
63 63
                         if (is_array($item) && count($item) == 3 && Language::isASupportedLanguage($item[1])) {
64
-                            echo $faq->updateRecordFlag((int) $item[0], addslashes($item[1]), $item[2], 'active');
64
+                            echo $faq->updateRecordFlag((int)$item[0], addslashes($item[1]), $item[2], 'active');
65 65
                         }
66 66
                     }
67 67
                 }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
                     foreach ($items as $item) {
80 80
                         if (is_array($item) && count($item) == 3 && Language::isASupportedLanguage($item[1])) {
81
-                            echo $faq->updateRecordFlag((int) $item[0], addslashes($item[1]), $item[2], 'sticky');
81
+                            echo $faq->updateRecordFlag((int)$item[0], addslashes($item[1]), $item[2], 'sticky');
82 82
                         }
83 83
                     }
84 84
                 }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 
144 144
                 if (!is_null($questionIds['questions'])) {
145 145
                     foreach ($questionIds['questions'] as $questionId) {
146
-                        $faq->deleteQuestion((int) $questionId);
146
+                        $faq->deleteQuestion((int)$questionId);
147 147
                     }
148 148
                 }
149 149
                 echo $PMF_LANG['ad_entry_delsuc'];
Please login to merge, or discard this patch.
phpmyfaq/admin/section.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
             $message .= sprintf('<p class="alert alert-danger">%s</p>', $PMF_LANG['ad_msg_mysqlerr']);
84 84
         }
85 85
         foreach ($sectionMembers as $memberId) {
86
-            $perm->addGroupToSection((int) $memberId, $sectionId);
86
+            $perm->addGroupToSection((int)$memberId, $sectionId);
87 87
         }
88 88
         $message .= sprintf('<p class="alert alert-success">%s <strong>%s</strong> %s</p>',
89 89
             $PMF_LANG['ad_msg_savedsuc_1'],
Please login to merge, or discard this patch.