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.8 ( 757b80...f8dd9b )
by Thorsten
86:54 queued 69:27
created
phpmyfaq/inc/PMF/User/CurrentUser.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -292,8 +292,8 @@
 block discarded – undo
292 292
                 %sfaquser
293 293
             WHERE
294 294
                 user_id = %d",
295
-           PMF_Db::getTablePrefix(),
296
-           $this->getUserId()
295
+            PMF_Db::getTablePrefix(),
296
+            $this->getUserId()
297 297
         );
298 298
            
299 299
         $res = $this->config->getDb()->query($select);
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
         if (!isset($_SESSION[PMF_SESSION_ID_TIMESTAMP])) {
272 272
             return 0;
273 273
         }
274
-        return ($_SERVER['REQUEST_TIME'] - $_SESSION[PMF_SESSION_ID_TIMESTAMP]) / 60;
274
+        return ($_SERVER['REQUEST_TIME'] - $_SESSION[PMF_SESSION_ID_TIMESTAMP])/60;
275 275
     }
276 276
 
277 277
     /**
@@ -319,10 +319,10 @@  discard block
 block discarded – undo
319 319
         $oldSessionId = session_id();
320 320
         if (session_regenerate_id(true)) {
321 321
             $sessionPath = session_save_path();
322
-            if (strpos ($sessionPath, ';') !== false) {
323
-                $sessionPath = substr ($sessionPath, strpos ($sessionPath, ';') + 1);
322
+            if (strpos($sessionPath, ';') !== false) {
323
+                $sessionPath = substr($sessionPath, strpos($sessionPath, ';') + 1);
324 324
             }
325
-            $sessionFilename = $sessionPath . '/sess_' . $oldSessionId;
325
+            $sessionFilename = $sessionPath.'/sess_'.$oldSessionId;
326 326
             if (@file_exists($sessionFilename)) {
327 327
                 @unlink($sessionFilename);
328 328
             }
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
             PMF_Db::getTablePrefix(),
344 344
             session_id(),
345 345
             $_SERVER['REQUEST_TIME'],
346
-            $updateLastlogin ?  "last_login = '".date('YmdHis', $_SERVER['REQUEST_TIME'])."'," : '',
346
+            $updateLastlogin ? "last_login = '".date('YmdHis', $_SERVER['REQUEST_TIME'])."'," : '',
347 347
             $_SERVER['REMOTE_ADDR'],
348 348
             $this->getUserId()
349 349
         );
@@ -490,7 +490,7 @@  discard block
 block discarded – undo
490 490
      */
491 491
     public static function getFromCookie(PMF_Configuration $config)
492 492
     {
493
-        if (! isset($_COOKIE[PMF_Session::PMF_COOKIE_NAME_REMEMBERME])) {
493
+        if (!isset($_COOKIE[PMF_Session::PMF_COOKIE_NAME_REMEMBERME])) {
494 494
             return null;
495 495
         }
496 496
 
@@ -612,6 +612,6 @@  discard block
 block discarded – undo
612 612
      */
613 613
     private function createCsrfToken()
614 614
     {
615
-        return sha1(microtime() . $this->getLogin());
615
+        return sha1(microtime().$this->getLogin());
616 616
     }
617 617
 }
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Report.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
- * The reporting class for simple report generation
4
- *
5
- * PHP Version 5.3
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
- * @package   PMF_Report
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @author    Gustavo Solt <[email protected]>
15
- * @copyright 2011-2015 phpMyFAQ Team
16
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
- * @link      http://www.phpmyfaq.de
18
- * @since     2011-02-04
19
- */
3
+     * The reporting class for simple report generation
4
+     *
5
+     * PHP Version 5.3
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
+     * @package   PMF_Report
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @author    Gustavo Solt <[email protected]>
15
+     * @copyright 2011-2015 phpMyFAQ Team
16
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
+     * @link      http://www.phpmyfaq.de
18
+     * @since     2011-02-04
19
+     */
20 20
 
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Glossary.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
- * The main glossary class
4
- *
5
- * PHP Version 5.3
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
- * @package   PMF_Glossary
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2005-2015 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     2005-09-15
18
- */
3
+     * The main glossary class
4
+     *
5
+     * PHP Version 5.3
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
+     * @package   PMF_Glossary
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @copyright 2005-2015 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     2005-09-15
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Visits.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
- * Handles all the stuff for visits
4
- *
5
- * PHP Version 5.3
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
- * @package   PMF_Visits
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2009-2015 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     2009-03-08
18
- */
3
+     * Handles all the stuff for visits
4
+     *
5
+     * PHP Version 5.3
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
+     * @package   PMF_Visits
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @copyright 2009-2015 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     2009-03-08
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Perm/Basic.php 2 patches
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
- * The basic permission class provides user rights.
4
- *
5
- * PHP Version 5.3
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
- * @package   Perm
13
- * @author    Lars Tiedemann <[email protected]>
14
- * @copyright 2005-2015 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     2005-09-17
18
- */
3
+     * The basic permission class provides user rights.
4
+     *
5
+     * PHP Version 5.3
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
+     * @package   Perm
13
+     * @author    Lars Tiedemann <[email protected]>
14
+     * @copyright 2005-2015 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     2005-09-17
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@
 block discarded – undo
318 318
             isset($rightData['for_groups']) ? (int)$rightData['for_groups'] : 1
319 319
         );
320 320
 
321
-        if (! $this->config->getDb()->query($insert)) {
321
+        if (!$this->config->getDb()->query($insert)) {
322 322
             return 0;
323 323
         }
324 324
         
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Perm/Medium.php 2 patches
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
- * The medium permission class provides group rights.
4
- *
5
- * PHP Version 5.3
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
- * @package   Perm
13
- * @author    Lars Tiedemann <[email protected]>
14
- * @copyright 2005-2015 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     2005-09-17
18
- */
3
+     * The medium permission class provides group rights.
4
+     *
5
+     * PHP Version 5.3
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
+     * @package   Perm
13
+     * @author    Lars Tiedemann <[email protected]>
14
+     * @copyright 2005-2015 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     2005-09-17
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
         
259 259
         $nextId    = $this->config->getDb()->nextId(PMF_Db::getTablePrefix()."faqgroup", "group_id");
260 260
         $groupData = $this->checkGroupData($groupData);
261
-        $insert     = sprintf("
261
+        $insert = sprintf("
262 262
             INSERT INTO
263 263
                 %sfaqgroup
264 264
             (group_id, name, description, auto_join)
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Perm/Large.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
- * The large permission class is not yet implemented in phpMyFAQ.
4
- *
5
- * PHP Version 5.3
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
- * @package   Perm
13
- * @author    Lars Tiedemann <[email protected]>
14
- * @copyright 2005-2015 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     2005-09-17
18
- */
3
+     * The large permission class is not yet implemented in phpMyFAQ.
4
+     *
5
+     * PHP Version 5.3
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
+     * @package   Perm
13
+     * @author    Lars Tiedemann <[email protected]>
14
+     * @copyright 2005-2015 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     2005-09-17
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Attachment/Collection.php 2 patches
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
- * Attachment collection class 
4
- *
5
- * PHP Version 5.3
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
- * @package   Attachment
13
- * @author    Anatoliy Belsky <[email protected]>
14
- * @copyright 2010-2015 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     2010-12-13
18
- */
3
+     * Attachment collection class 
4
+     *
5
+     * PHP Version 5.3
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
+     * @package   Attachment
13
+     * @author    Anatoliy Belsky <[email protected]>
14
+     * @copyright 2010-2015 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     2010-12-13
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,8 @@
 block discarded – undo
79 79
                 fa.record_id = fd.id
80 80
             GROUP BY
81 81
                 fa.id",
82
-            PMF_Db::getTablePrefix() . 'faqattachment',
83
-            PMF_Db::getTablePrefix() . 'faqdata'
82
+            PMF_Db::getTablePrefix().'faqattachment',
83
+            PMF_Db::getTablePrefix().'faqdata'
84 84
         );
85 85
 
86 86
         $result = $this->config->getDb()->query($query);
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Attachment/Filesystem/File/Vanilla.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
- * Unencrypted file handler class
4
- *
5
- * PHP Version 5.3
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
- * @package   Attachment
13
- * @author    Anatoliy Belsky <[email protected]>
14
- * @copyright 2009-2015 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     2009-08-21
18
- */
3
+     * Unencrypted file handler class
4
+     *
5
+     * PHP Version 5.3
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
+     * @package   Attachment
13
+     * @author    Anatoliy Belsky <[email protected]>
14
+     * @copyright 2009-2015 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     2009-08-21
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.