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 ( 35d98a...ca3670 )
by Thorsten
41:40 queued 27:34
created
phpmyfaq/setup/update.php 2 patches
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -1,24 +1,24 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Main update script.
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    Thomas Melchinger <[email protected]>
15
- * @author    Matteo Scaramuccia <[email protected]>
16
- * @copyright 2002-2015 phpMyFAQ Team
17
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
18
- *
19
- * @link      http://www.phpmyfaq.de
20
- * @since     2002-01-10
21
- */
3
+     * Main update script.
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    Thomas Melchinger <[email protected]>
15
+     * @author    Matteo Scaramuccia <[email protected]>
16
+     * @copyright 2002-2015 phpMyFAQ Team
17
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
18
+     *
19
+     * @link      http://www.phpmyfaq.de
20
+     * @since     2002-01-10
21
+     */
22 22
 define('COPYRIGHT', '&copy; 2001-2015 <a href="http://www.phpmyfaq.de/">phpMyFAQ Team</a> | Follow us on <a href="http://twitter.com/phpMyFAQ">Twitter</a> | All rights reserved.');
23 23
 define('PMF_ROOT_DIR', dirname(dirname(__FILE__)));
24 24
 define('IS_VALID_PHPMYFAQ', null);
@@ -101,8 +101,8 @@  discard block
 block discarded – undo
101 101
                 if (version_compare($version, '2.8.0-alpha2', '>=')) {
102 102
                     if (!$faqConfig->get('main.maintenanceMode')) {
103 103
                         echo '<p class="alert alert-warning"><strong>Warning!</strong> Your phpMyFAQ installation is '.
104
-                             'not in maintenance mode, you should enable the maintenance mode in your administration '.
105
-                             'backend before running the update!</p>';
104
+                                'not in maintenance mode, you should enable the maintenance mode in your administration '.
105
+                                'backend before running the update!</p>';
106 106
                     }
107 107
                 }
108 108
                 ?>
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
                 // 2.5 versions only
169 169
                 if (version_compare($version, '2.6.0-alpha', '<') && !is_writeable('../template')) {
170 170
                     echo '<p class="alert alert-danger text-center"><strong>Please change the directory ../template '.
171
-                         'and its contents writable (777 on Linux/UNIX).</strong></p>';
171
+                            'and its contents writable (777 on Linux/UNIX).</strong></p>';
172 172
                 }
173 173
 
174 174
                 // We only support updates from 2.6+
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
     if (file_exists(PMF_ROOT_DIR.'/config/database.php')) {
215 215
         if (!copy(PMF_ROOT_DIR.'/config/database.php', PMF_ROOT_DIR.'/config/database.bak.php')) {
216 216
             echo '<p class="alert alert-danger"><strong>Error:</strong> The backup file ../config/database.bak.php '.
217
-                  'could not be written. Please correct this!</p>';
217
+                    'could not be written. Please correct this!</p>';
218 218
         } else {
219 219
             $checkDatabaseSetupFile = true;
220 220
         }
@@ -574,8 +574,8 @@  discard block
 block discarded – undo
574 574
             if (!$result) {
575 575
                 echo '</div>';
576 576
                 echo '<p class="alert alert-danger"><strong>Error:</strong> Please update your version of phpMyFAQ '.
577
-                      'once again or send us a <a href="http://bugs.phpmyfaq.de" target="_blank">bug report</a>.'.
578
-                      '</p>';
577
+                        'once again or send us a <a href="http://bugs.phpmyfaq.de" target="_blank">bug report</a>.'.
578
+                        '</p>';
579 579
                 printf(
580 580
                     '<p class="alert alert-danger"><strong>DB error:</strong> %s</p>',
581 581
                     $faqConfig->getDb()->error()
@@ -851,7 +851,7 @@  discard block
 block discarded – undo
851 851
             printf('<span title="%s">.</span>', $executeQuery);
852 852
             if (!$result) {
853 853
                 echo '<p class="alert alert-danger"><strong>Error:</strong> Please install your version of phpMyFAQ once again '.
854
-                      'or send us a <a href="http://bugs.phpmyfaq.de" target="_blank">bug report</a>.</p>';
854
+                        'or send us a <a href="http://bugs.phpmyfaq.de" target="_blank">bug report</a>.</p>';
855 855
                 printf('<p class="error"><strong>DB error:</strong> %s</p>', $faqConfig->getDb()->error());
856 856
                 printf('<code>%s</code>', htmlentities($executeQuery));
857 857
                 PMF_System::renderFooter();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
         foreach ($query as $key => $executeQuery) {
569 569
             $result = $faqConfig->getDb()->query($executeQuery);
570 570
             echo '.';
571
-            if (!($key % 100)) {
571
+            if (!($key%100)) {
572 572
                 echo '<br />';
573 573
             }
574 574
             if (!$result) {
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
             }
589 589
             usleep(10000);
590 590
             ++$count;
591
-            if (!($count % 10)) {
591
+            if (!($count%10)) {
592 592
                 ob_flush();
593 593
             }
594 594
         }
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Date.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@
 block discarded – undo
38 38
  * @author    Anatoliy Belsky <[email protected]>
39 39
  * @copyright 2009-2015 phpMyFAQ Team
40 40
  * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
41
- 
42 41
  * @link      http://www.phpmyfaq.de
43 42
  * @since     2009-04-06
44 43
  */
Please login to merge, or discard this patch.
phpmyfaq/admin/instances.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
- * Frontend to edit an instance.
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-04-16
19
- */
3
+     * Frontend to edit an instance.
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-04-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/record.comments.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Shows all comments in the categories and provides a link to delete comments.
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 2007-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     2007-03-04
19
- */
3
+         * Shows all comments in the categories and provides a link to delete comments.
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 2007-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     2007-03-04
19
+         */
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     $protocol = 'http';
22 22
     if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
@@ -80,9 +80,9 @@  discard block
 block discarded – undo
80 80
                     <?php print $date->format(date('Y-m-d H:i', $faqcomment['date']));
81 81
             ?> |
82 82
                     <a href="<?php printf('../?action=artikel&cat=%d&id=%d&artlang=%s',
83
-                       $faqcomment['category_id'],
84
-                       $faqcomment['record_id'],
85
-                       $LANGCODE);
83
+                        $faqcomment['category_id'],
84
+                        $faqcomment['record_id'],
85
+                        $LANGCODE);
86 86
             ?>">
87 87
                         <?php print $faq->getRecordTitle($faqcomment['record_id']);
88 88
             ?>
Please login to merge, or discard this patch.
phpmyfaq/admin/ajax.ondemandurl.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,29 +1,29 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * AJAX: onDemandURL.
4
- *
5
- * Usage:
6
- *   index.php?action=ajax&ajax=onDemandURL&id=<id>&artlang=<lang>[&lookup=1]
7
- *
8
- * Performs link verification at demand of the user.
9
- *
10
- * PHP Version 5.5
11
- *
12
- * This Source Code Form is subject to the terms of the Mozilla Public License,
13
- * v. 2.0. If a copy of the MPL was not distributed with this file, You can
14
- * obtain one at http://mozilla.org/MPL/2.0/.
15
- *
16
- * The Initial Developer of the Original Code is released for external use
17
- * with permission from NetJapan, Inc. IT Administration Group.
18
- *
19
- * @category  phpMyFAQ
20
- * @author    Minoru TODA <[email protected]>
21
- * @author    Thorsten Rinne <[email protected]>
22
- * @copyright 2005-2015 NetJapan, Inc.
23
- * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
24
- * @link      http://www.phpmyfaq.de
25
- * @since     2005-09-30
26
- */
3
+     * AJAX: onDemandURL.
4
+     *
5
+     * Usage:
6
+     *   index.php?action=ajax&ajax=onDemandURL&id=<id>&artlang=<lang>[&lookup=1]
7
+     *
8
+     * Performs link verification at demand of the user.
9
+     *
10
+     * PHP Version 5.5
11
+     *
12
+     * This Source Code Form is subject to the terms of the Mozilla Public License,
13
+     * v. 2.0. If a copy of the MPL was not distributed with this file, You can
14
+     * obtain one at http://mozilla.org/MPL/2.0/.
15
+     *
16
+     * The Initial Developer of the Original Code is released for external use
17
+     * with permission from NetJapan, Inc. IT Administration Group.
18
+     *
19
+     * @category  phpMyFAQ
20
+     * @author    Minoru TODA <[email protected]>
21
+     * @author    Thorsten Rinne <[email protected]>
22
+     * @copyright 2005-2015 NetJapan, Inc.
23
+     * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
24
+     * @link      http://www.phpmyfaq.de
25
+     * @since     2005-09-30
26
+     */
27 27
 if (!defined('IS_VALID_PHPMYFAQ')) {
28 28
     $protocol = 'http';
29 29
     if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
Please login to merge, or discard this patch.
phpmyfaq/admin/ajax.config_list.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -1,23 +1,23 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * AJAX: lists the complete configuration items as text/html.
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    Thomas Zeithaml <[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-26
20
- */
3
+     * AJAX: lists the complete configuration items as text/html.
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    Thomas Zeithaml <[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-26
20
+     */
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     $protocol = 'http';
23 23
     if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
@@ -108,8 +108,8 @@  discard block
 block discarded – undo
108 108
                         echo PMF_Language::languageOptions(
109 109
                             str_replace(
110 110
                                 array(
111
-                                     'language_',
112
-                                     '.php',
111
+                                        'language_',
112
+                                        '.php',
113 113
                                 ),
114 114
                                 '',
115 115
                                 $faqConfig->get('main.language')
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
                     } else {
121 121
                         echo '<option value="language_en.php">English</option>';
122 122
                     }
123
-                   break;
123
+                    break;
124 124
 
125 125
                 case 'records.orderby':
126 126
                     echo PMF_Configuration::sortingOptions($faqConfig->get($key));
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                                   ? ' selected'
158 158
                                   : '';
159 159
                         printf('<option value="%d"%s>%s</option>',
160
-                               $i, $selected, $item);
160
+                                $i, $selected, $item);
161 161
                     }
162 162
                     break;
163 163
 
Please login to merge, or discard this patch.
phpmyfaq/admin/header.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
- * Header of the admin area.
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-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     2003-02-26
19
- */
3
+     * Header of the admin area.
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-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     2003-02-26
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/category.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
- * Edits a category.
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-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     2003-03-10
19
- */
3
+         * Edits a category.
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-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     2003-03-10
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/setup/attachment.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@  discard block
 block discarded – undo
1 1
 <?php 
2 2
 /**
3
- * Attachment migration script.
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    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
- *
17
- * @link      http://www.phpmyfaq.de
18
- * @since     2009-09-13
19
- */
3
+     * Attachment migration script.
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    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
+     *
17
+     * @link      http://www.phpmyfaq.de
18
+     * @since     2009-09-13
19
+     */
20 20
 set_time_limit(0);
21 21
 
22 22
 define('PMF_ROOT_DIR', dirname(__DIR__));
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
 /*        case PMF_Attachment_Migration::MIGRATION_TYPE3:
67 67
         case PMF_Attachment_Migration::MIGRATION_TYPE4:*/
68 68
             $options['defaultKey'] = PMF_Filter::filterInput(INPUT_POST,
69
-                                                             'defaultKey',
70
-                                                             FILTER_SANITIZE_STRING);
69
+                                                                'defaultKey',
70
+                                                                FILTER_SANITIZE_STRING);
71 71
             break;
72 72
 
73 73
         default:
Please login to merge, or discard this patch.