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 ( fdce9e...41d2f7 )
by Thorsten
37:41 queued 22:06
created
phpmyfaq/inc/PMF/Search/Database/Sqlite.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
- * phpMyFAQ SQlite based search classes
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_Search_Database
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2010-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     2010-07-05
18
- */
3
+     * phpMyFAQ SQlite based search classes
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_Search_Database
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @copyright 2010-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     2010-07-05
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Search/Database/Sqlite3.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
- * phpMyFAQ SQlite based search classes
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_Search_Database
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2012-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     2012-12-26
18
- */
3
+     * phpMyFAQ SQlite based search classes
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_Search_Database
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @copyright 2012-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     2012-12-26
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Search/Database/Mssql.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
- * phpMyFAQ MS SQL Server based search classes
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_Search_Database
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2010-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     2010-07-06
18
- */
3
+     * phpMyFAQ MS SQL Server based search classes
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_Search_Database
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @copyright 2010-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     2010-07-06
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Helper.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
- * Main helper class for 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   Helper
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2009-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     2009-09-07
18
- */
3
+     * Main helper class for 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   Helper
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @copyright 2009-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     2009-09-07
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/String/Abstract.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Abstract parent for the string wrapper classes 
4
- *
5
- * PHP Version 5.3.0
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   String
13
- * @author    Anatoliy Belsky <[email protected]>
14
- * @copyright 2009-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     2009-04-06
18
- */
3
+     * Abstract parent for the string wrapper classes 
4
+     *
5
+     * PHP Version 5.3.0
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   String
13
+     * @author    Anatoliy Belsky <[email protected]>
14
+     * @copyright 2009-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     2009-04-06
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
@@ -73,14 +73,14 @@  discard block
 block discarded – undo
73 73
             return mb_detect_encoding($str, 'UTF-8', true);
74 74
         } else {
75 75
             $regex = '/^([\x00-\x7f]|'
76
-                   . '[\xc2-\xdf][\x80-\xbf]|'
77
-                   . '\xe0[\xa0-\xbf][\x80-\xbf]|'
78
-                   . '[\xe1-\xec][\x80-\xbf]{2}|'
79
-                   . '\xed[\x80-\x9f][\x80-\xbf]|'
80
-                   . '[\xee-\xef][\x80-\xbf]{2}|'
81
-                   . '\xf0[\x90-\xbf][\x80-\xbf]{2}|'
82
-                   . '[\xf1-\xf3][\x80-\xbf]{3}|'
83
-                   . '\xf4[\x80-\x8f][\x80-\xbf]{2})*$/';
76
+                    . '[\xc2-\xdf][\x80-\xbf]|'
77
+                    . '\xe0[\xa0-\xbf][\x80-\xbf]|'
78
+                    . '[\xe1-\xec][\x80-\xbf]{2}|'
79
+                    . '\xed[\x80-\x9f][\x80-\xbf]|'
80
+                    . '[\xee-\xef][\x80-\xbf]{2}|'
81
+                    . '\xf0[\x90-\xbf][\x80-\xbf]{2}|'
82
+                    . '[\xf1-\xf3][\x80-\xbf]{3}|'
83
+                    . '\xf4[\x80-\x8f][\x80-\xbf]{2})*$/';
84 84
             return preg_match($regex, $str) === 1;
85 85
         }
86 86
     }
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Faq/Interface.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
- * Interface for all PMF_Faq_* classes
4
- *
5
- * PHP Version 5.3.0
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   Faq
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @copyright 2009-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     2009-12-28
18
- */
3
+     * Interface for all PMF_Faq_* classes
4
+     *
5
+     * PHP Version 5.3.0
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   Faq
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @copyright 2009-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     2009-12-28
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
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-2016 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-2016 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/admin/noperm.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
- * An error page that is displayed if the user has no admin permissions
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   Administration
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @author    Alexander M. Turek <[email protected]>
15
- * @copyright 2005-2016 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     2013-02-05
19
- */
3
+     * An error page that is displayed if the user has no admin permissions
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   Administration
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @author    Alexander M. Turek <[email protected]>
15
+     * @copyright 2005-2016 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     2013-02-05
19
+     */
20 20
 
21 21
 ?>
22 22
     <header>
Please login to merge, or discard this patch.
phpmyfaq/admin/record.add.php 2 patches
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
- * Adds a record in the database, handles the preview and checks for missing
4
- * category entries.
5
- *
6
- * PHP Version 5.3
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
- * @package   Administration
14
- * @author    Thorsten Rinne <[email protected]>
15
- * @copyright 2003-2016 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     2003-02-23
19
- */
3
+     * Adds a record in the database, handles the preview and checks for missing
4
+     * category entries.
5
+     *
6
+     * PHP Version 5.3
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
+     * @package   Administration
14
+     * @author    Thorsten Rinne <[email protected]>
15
+     * @copyright 2003-2016 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     2003-02-23
19
+     */
20 20
 
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     $protocol = 'http';
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -20,14 +20,14 @@  discard block
 block discarded – undo
20 20
 
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     $protocol = 'http';
23
-    if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON'){
23
+    if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
24 24
         $protocol = 'https';
25 25
     }
26
-    header('Location: ' . $protocol . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']));
26
+    header('Location: '.$protocol.'://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']));
27 27
     exit();
28 28
 }
29 29
 
30
-if ($permission['editbt']|| $permission['addbt']) {
30
+if ($permission['editbt'] || $permission['addbt']) {
31 31
 
32 32
     // FAQ data
33 33
     $dateStart  = PMF_Filter::filterInput(INPUT_POST, 'dateStart', FILTER_SANITIZE_STRING);
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $category->setGroups($currentAdminGroups);
107 107
         $tagging  = new PMF_Tags($faqConfig);
108 108
 
109
-        $recordData     = array(
109
+        $recordData = array(
110 110
             'lang'          => $recordLang,
111 111
             'active'        => $active,
112 112
             'sticky'        => (!is_null($sticky) ? 1 : 0),
@@ -117,8 +117,8 @@  discard block
 block discarded – undo
117 117
             'email'         => $email,
118 118
             'comment'       => (!is_null($comment) ? 'y' : 'n'),
119 119
             'date'          => date('YmdHis'),
120
-            'dateStart'     => (empty($dateStart) ? '00000000000000' : str_replace('-', '', $dateStart) . '000000'),
121
-            'dateEnd'       => (empty($dateEnd) ? '99991231235959' : str_replace('-', '', $dateEnd) . '235959'),
120
+            'dateStart'     => (empty($dateStart) ? '00000000000000' : str_replace('-', '', $dateStart).'000000'),
121
+            'dateEnd'       => (empty($dateEnd) ? '99991231235959' : str_replace('-', '', $dateEnd).'235959'),
122 122
             'linkState'     => '',
123 123
             'linkDateCheck' => 0
124 124
         );
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
                     $faq->updateQuestionAnswer($openQuestionId, $recordId, $categories['rubrik'][0]);
163 163
                 }
164 164
 
165
-                $url   = sprintf(
165
+                $url = sprintf(
166 166
                     '%s?action=artikel&cat=%d&id=%d&artlang=%s',
167 167
                     $faqConfig->get('main.referenceURL'),
168 168
                     $categories['rubrik'][0],
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
                     $recordId,
201 201
                     $recordLang
202 202
                 );
203
-                $oLink            = new PMF_Link($faqConfig->get('main.referenceURL') . $link, $faqConfig);
203
+                $oLink            = new PMF_Link($faqConfig->get('main.referenceURL').$link, $faqConfig);
204 204
                 $oLink->itemTitle = $question;
205 205
                 $link             = $oLink->toString();
206 206
                 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
         } else {
226 226
             printf(
227 227
                 '<p class="alert alert-error">%s</p>',
228
-                $PMF_LANG['ad_entry_savedfail'] . $faqConfig->getDb()->error()
228
+                $PMF_LANG['ad_entry_savedfail'].$faqConfig->getDb()->error()
229 229
             );
230 230
         }
231 231
 
Please login to merge, or discard this patch.