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 ( 4d4c1c...99a41c )
by Thorsten
35:08 queued 21:24
created
phpmyfaq/admin/stat.show.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Show the session.
4
- *
5
- * PHP Version 5.5
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public License,
8
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
- * obtain one at http://mozilla.org/MPL/2.0/.
10
- *
11
- * @category  phpMyFAQ
12
- *
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2003-2016 phpMyFAQ Team
15
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
16
- *
17
- * @link      http://www.phpmyfaq.de
18
- * @since     2003-02-24
19
- */
3
+                                         * Show the session.
4
+                                         *
5
+                                         * PHP Version 5.5
6
+                                         *
7
+                                         * This Source Code Form is subject to the terms of the Mozilla Public License,
8
+                                         * v. 2.0. If a copy of the MPL was not distributed with this file, You can
9
+                                         * obtain one at http://mozilla.org/MPL/2.0/.
10
+                                         *
11
+                                         * @category  phpMyFAQ
12
+                                         *
13
+                                         * @author    Thorsten Rinne <[email protected]>
14
+                                         * @copyright 2003-2016 phpMyFAQ Team
15
+                                         * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
16
+                                         *
17
+                                         * @link      http://www.phpmyfaq.de
18
+                                         * @since     2003-02-24
19
+                                         */
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     $protocol = 'http';
22 22
     if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
Please login to merge, or discard this patch.
phpmyfaq/admin/record.add.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Adds a record in the database, handles the preview and checks for missing
4
- * category entries.
5
- *
6
- * PHP Version 5.5
7
- *
8
- * This Source Code Form is subject to the terms of the Mozilla Public License,
9
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
- * obtain one at http://mozilla.org/MPL/2.0/.
11
- *
12
- * @category  phpMyFAQ
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2003-2016 phpMyFAQ Team
15
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
16
- * @link      http://www.phpmyfaq.de
17
- * @since     2003-02-23
18
- */
3
+         * Adds a record in the database, handles the preview and checks for missing
4
+         * category entries.
5
+         *
6
+         * PHP Version 5.5
7
+         *
8
+         * This Source Code Form is subject to the terms of the Mozilla Public License,
9
+         * v. 2.0. If a copy of the MPL was not distributed with this file, You can
10
+         * obtain one at http://mozilla.org/MPL/2.0/.
11
+         *
12
+         * @category  phpMyFAQ
13
+         * @author    Thorsten Rinne <[email protected]>
14
+         * @copyright 2003-2016 phpMyFAQ Team
15
+         * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
16
+         * @link      http://www.phpmyfaq.de
17
+         * @since     2003-02-23
18
+         */
19 19
 if (!defined('IS_VALID_PHPMYFAQ')) {
20 20
     $protocol = 'http';
21 21
     if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
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.