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 ( 0fedc1...47b4c9 )
by Thorsten
15:08
created
phpmyfaq/admin/glossary.add.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
- * Displays a form to add a glossary item.
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 2005-2015 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     2005-09-15
19
- */
3
+     * Displays a form to add a glossary item.
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 2005-2015 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     2005-09-15
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/glossary.edit.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
- * Displays a form to edit an existing glossary item.
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 2005-2015 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     2005-09-15
19
- */
3
+     * Displays a form to edit an existing glossary item.
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 2005-2015 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     2005-09-15
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/glossary.main.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 main glossary index file.
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 2005-2015 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     2005-09-15
19
- */
3
+     * The main glossary index file.
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 2005-2015 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     2005-09-15
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/group.php 2 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,23 +1,23 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Displays the group management frontend.
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    Lars Tiedemann <[email protected]>
14
- * @author    Thorsten Rinne <[email protected]>
15
- * @copyright 2005-2015 phpMyFAQ Team
16
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
- *
18
- * @link      http://www.phpmyfaq.de
19
- * @since     2005-12-15
20
- */
3
+     * Displays the group management frontend.
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    Lars Tiedemann <[email protected]>
14
+     * @author    Thorsten Rinne <[email protected]>
15
+     * @copyright 2005-2015 phpMyFAQ Team
16
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
+     *
18
+     * @link      http://www.phpmyfaq.de
19
+     * @since     2005-12-15
20
+     */
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     $protocol = 'http';
23 23
     if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
Please login to merge, or discard this 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/image.browser.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Image browser backend for TinyMCE v4
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
- * @author    Thorsten Rinne <[email protected]>
13
- * @copyright 2015 phpMyFAQ Team
14
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
15
- * @link      http://www.phpmyfaq.de
16
- * @since     2015-10-18
17
- */
3
+                     * Image browser backend for TinyMCE v4
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
+                     * @author    Thorsten Rinne <[email protected]>
13
+                     * @copyright 2015 phpMyFAQ Team
14
+                     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
15
+                     * @link      http://www.phpmyfaq.de
16
+                     * @since     2015-10-18
17
+                     */
18 18
 define('PMF_ROOT_DIR', dirname(__DIR__));
19 19
 define('IS_VALID_PHPMYFAQ', null);
20 20
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,15 +54,15 @@
 block discarded – undo
54 54
 if (!is_dir(PMF_ROOT_DIR.'/images')) {
55 55
     echo '<p class="alert alert-danger">'.sprintf($PMF_LANG['ad_dir_missing'], '/images').'</p>';
56 56
 } else {
57
-    $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(PMF_ROOT_DIR . '/images/'));
57
+    $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(PMF_ROOT_DIR.'/images/'));
58 58
     foreach ($files as $file) {
59 59
         if ($file->isDir() || !in_array($file->getExtension(), $allowedExtensions)) {
60 60
             continue;
61 61
         }
62 62
         printf(
63 63
             '<div class="mce-file" data-src="%s"><img src="%s" class="mce-file-preview">%s</div>',
64
-            $faqConfig->getDefaultUrl() . 'images/' . $file->getFilename(),
65
-            $faqConfig->getDefaultUrl() . 'images/' . $file->getFilename(),
64
+            $faqConfig->getDefaultUrl().'images/'.$file->getFilename(),
65
+            $faqConfig->getDefaultUrl().'images/'.$file->getFilename(),
66 66
             $file->getFilename()
67 67
         );
68 68
     }
Please login to merge, or discard this patch.
phpmyfaq/admin/image.upload.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,20 +1,20 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Image upload backend for TinyMCE v4
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
- * @author    Thorsten Rinne <[email protected]>
13
- * @copyright 2015 phpMyFAQ Team
14
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
15
- * @link      http://www.phpmyfaq.de
16
- * @since     2015-10-18
17
- */
3
+     * Image upload backend for TinyMCE v4
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
+     * @author    Thorsten Rinne <[email protected]>
13
+     * @copyright 2015 phpMyFAQ Team
14
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
15
+     * @link      http://www.phpmyfaq.de
16
+     * @since     2015-10-18
17
+     */
18 18
 define('PMF_ROOT_DIR', dirname(__DIR__));
19 19
 define('IS_VALID_PHPMYFAQ', null);
20 20
 
Please login to merge, or discard this patch.
phpmyfaq/admin/instances.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 main multi-site instances frontend.
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 2012-2015 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     2012-03-16
19
- */
3
+     * The main multi-site instances frontend.
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 2012-2015 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     2012-03-16
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/loginform.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,23 +1,23 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The login form.
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
- * @author    Alexander M. Turek <[email protected]>
15
- * @copyright 2005-2015 phpMyFAQ Team
16
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
- *
18
- * @link      http://www.phpmyfaq.de
19
- * @since     2013-02-05
20
- */
3
+     * The login form.
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
+     * @author    Alexander M. Turek <[email protected]>
15
+     * @copyright 2005-2015 phpMyFAQ Team
16
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
+     *
18
+     * @link      http://www.phpmyfaq.de
19
+     * @since     2013-02-05
20
+     */
21 21
 ?>
22 22
         <div class="row">
23 23
             <div class="col-md-4 col-md-offset-4">
Please login to merge, or discard this patch.
phpmyfaq/admin/news.php 2 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,23 +1,23 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The main administration file for the news.
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
- * @author    Matteo Scaramuccia <[email protected]>
15
- * @copyright 2003-2015 phpMyFAQ Team
16
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
- *
18
- * @link      http://www.phpmyfaq.de
19
- * @since     2003-02-23
20
- */
3
+         * The main administration file for the news.
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
+         * @author    Matteo Scaramuccia <[email protected]>
15
+         * @copyright 2003-2015 phpMyFAQ Team
16
+         * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
17
+         *
18
+         * @link      http://www.phpmyfaq.de
19
+         * @since     2003-02-23
20
+         */
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     $protocol = 'http';
23 23
     if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
Please login to merge, or discard this 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.