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/contact.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,16 +19,16 @@
 block discarded – undo
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     $protocol = 'http';
22
-    if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON'){
22
+    if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
23 23
         $protocol = 'https';
24 24
     }
25
-    header('Location: ' . $protocol . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']));
25
+    header('Location: '.$protocol.'://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']));
26 26
     exit();
27 27
 }
28 28
 
29 29
 $faqsession->userTracking('open_questions', 0);
30 30
 
31
-$tpl->parse (
31
+$tpl->parse(
32 32
     'writeContent',
33 33
     array(
34 34
         'msgOpenQuestions'   => $PMF_LANG['msgOpenQuestions'],
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Search/Database/Mysql.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
         } else {
61 61
             $enableRelevance = $this->_config->get('search.enableRelevance');
62 62
 
63
-            $columns    =  $this->getResultColumns();
63
+            $columns    = $this->getResultColumns();
64 64
             $columns   .= ($enableRelevance) ? $this->getMatchingColumnsAsResult($searchTerm) : '';
65
-            $orderBy    = ($enableRelevance) ? 'ORDER BY ' . $this->getMatchingOrder() . ' DESC' : '';
65
+            $orderBy    = ($enableRelevance) ? 'ORDER BY '.$this->getMatchingOrder().' DESC' : '';
66 66
             $chars      = array(
67 67
                 "\xe2\x80\x98",
68 68
                 "\xe2\x80\x99",
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
                 $this->_config->getDb()->escape($searchterm),
141 141
                 substr(strstr($matchColumn, '.'), 1));
142 142
 
143
-                $resultColumns .= ', ' . $column;
143
+                $resultColumns .= ', '.$column;
144 144
         }
145 145
 
146 146
         return $resultColumns;
@@ -160,11 +160,11 @@  discard block
 block discarded – undo
160 160
         $order = '';
161 161
 
162 162
         foreach ($list as $field) {
163
-            $string = '(rel_' . $field . '*' . $count .')';
163
+            $string = '(rel_'.$field.'*'.$count.')';
164 164
             if (empty($order)) {
165 165
                 $order .= $string;
166 166
             } else {
167
-                $order .= '+' . $string;
167
+                $order .= '+'.$string;
168 168
             }
169 169
             $count--;
170 170
         }
Please login to merge, or discard this 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 MySQL (ext/mysql) 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-06-06
18
- */
3
+     * phpMyFAQ MySQL (ext/mysql) 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-06-06
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.
phpmyfaq/sitemap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,16 +19,16 @@
 block discarded – undo
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     $protocol = 'http';
22
-    if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON'){
22
+    if (isset($_SERVER['HTTPS']) && strtoupper($_SERVER['HTTPS']) === 'ON') {
23 23
         $protocol = 'https';
24 24
     }
25
-    header('Location: ' . $protocol . '://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']));
25
+    header('Location: '.$protocol.'://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['SCRIPT_NAME']));
26 26
     exit();
27 27
 }
28 28
 
29 29
 $faqsession->userTracking('open_questions', 0);
30 30
 
31
-$tpl->parse (
31
+$tpl->parse(
32 32
     'writeContent',
33 33
     array(
34 34
         'msgOpenQuestions'   => $PMF_LANG['msgOpenQuestions'],
Please login to merge, or discard this patch.
phpmyfaq/feed/news/rss.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 //
25 25
 // Bootstrapping
26 26
 //
27
-require PMF_ROOT_DIR . '/inc/Bootstrap.php';
27
+require PMF_ROOT_DIR.'/inc/Bootstrap.php';
28 28
 
29 29
 //
30 30
 // get language (default: english)
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     }
62 62
 } else {
63 63
     $user = PMF_User_CurrentUser::getFromCookie($faqConfig);
64
-    if (! $user instanceof PMF_User_CurrentUser) {
64
+    if (!$user instanceof PMF_User_CurrentUser) {
65 65
         $user = PMF_User_CurrentUser::getFromSession($faqConfig);
66 66
     }
67 67
 }
@@ -94,19 +94,19 @@  discard block
 block discarded – undo
94 94
 $rss->writeAttribute('version', '2.0');
95 95
 $rss->writeAttribute('xmlns:atom', 'http://www.w3.org/2005/Atom');
96 96
 $rss->startElement('channel');
97
-$rss->writeElement('title', $faqConfig->get('main.titleFAQ') . ' - ' . $PMF_LANG['msgNews']);
97
+$rss->writeElement('title', $faqConfig->get('main.titleFAQ').' - '.$PMF_LANG['msgNews']);
98 98
 $rss->writeElement('description', html_entity_decode($faqConfig->get('main.metaDescription')));
99 99
 $rss->writeElement('link', $faqConfig->get('main.referenceURL'));
100 100
 $rss->startElementNS('atom', 'link', 'http://www.w3.org/2005/Atom');
101 101
 $rss->writeAttribute('rel', 'self');
102 102
 $rss->writeAttribute('type', 'application/rss+xml');
103
-$rss->writeAttribute('href', $faqConfig->get('main.referenceURL') . 'feed/news/rss.php');
103
+$rss->writeAttribute('href', $faqConfig->get('main.referenceURL').'feed/news/rss.php');
104 104
 $rss->endElement();
105 105
 
106 106
 if ($num > 0) {
107 107
     foreach ($rssData as $item) {
108 108
         // Get the url
109
-        $link = '/index.php?action=news&newsid=' . $item['id'] . '&newslang=' . $item['lang'];
109
+        $link = '/index.php?action=news&newsid='.$item['id'].'&newslang='.$item['lang'];
110 110
         if (PMF_RSS_USE_SEO) {
111 111
             if (isset($item['header'])) {
112 112
                 $oLink            = new PMF_Link($link, $faqConfig);
@@ -122,8 +122,8 @@  discard block
 block discarded – undo
122 122
         $rss->writeCdata($item['content']);
123 123
         $rss->endElement();
124 124
 
125
-        $rss->writeElement('link', $faqConfig->get('main.referenceURL') . $link);
126
-        $rss->writeElement('guid', $faqConfig->get('main.referenceURL') . $link);
125
+        $rss->writeElement('link', $faqConfig->get('main.referenceURL').$link);
126
+        $rss->writeElement('guid', $faqConfig->get('main.referenceURL').$link);
127 127
         $rss->writeElement('pubDate', PMF_Date::createRFC822Date($item['date'], true));
128 128
         $rss->endElement();
129 129
     }
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Cache/Service.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -34,28 +34,28 @@
 block discarded – undo
34 34
  */
35 35
 abstract class PMF_Cache_Service
36 36
 {
37
-	/**
38
-	 * Children must implement the constructor with the appropriate config.
39
-	 *
40
-	 * @param array $config Cache configuration
41
-	 *
42
-	 * @return void
43
-	 */
44
-	abstract function __construct(array $config);
37
+    /**
38
+     * Children must implement the constructor with the appropriate config.
39
+     *
40
+     * @param array $config Cache configuration
41
+     *
42
+     * @return void
43
+     */
44
+    abstract function __construct(array $config);
45 45
 
46
-	/**
47
-	 * Children must implement this to be able to clear the single article cache as well as all the related items.
48
-	 *
49
-	 * @param intereg $id Article id
50
-	 *
51
-	 * @return void
52
-	 */
53
-	abstract function clearArticle($id);
46
+    /**
47
+     * Children must implement this to be able to clear the single article cache as well as all the related items.
48
+     *
49
+     * @param intereg $id Article id
50
+     *
51
+     * @return void
52
+     */
53
+    abstract function clearArticle($id);
54 54
 
55
-	/**
56
-	 * Children must implement this to be able to clear all the cache contents at once.
57
-	 *
58
-	 * @return void
59
-	 */
60
-	abstract function clearAll();
55
+    /**
56
+     * Children must implement this to be able to clear all the cache contents at once.
57
+     *
58
+     * @return void
59
+     */
60
+    abstract function clearAll();
61 61
 }
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Auth/Sso.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Manages user authentication with Apache's SSO authentication, e.g. mod_sspi
4
- * or mod_auth_kerb
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   Auth
14
- * @author    Thorsten Rinne <[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-06-22
19
- */
3
+     * Manages user authentication with Apache's SSO authentication, e.g. mod_sspi
4
+     * or mod_auth_kerb
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   Auth
14
+     * @author    Thorsten Rinne <[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-06-22
19
+     */
20 20
 
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     exit();
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * @param string $pass  Password
79 79
      *
80 80
      * @return boolean
81
-    */
81
+     */
82 82
     public function changePassword($login, $pass)
83 83
     {
84 84
         return true;
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Auth/Driver.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Interface for managing user authentication
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   Auth
13
- * @author    Thorsten Rinne <[email protected]>
14
- * @author    Alberto Cabello <[email protected]>
15
- * @copyright 2009-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     2009-03-01
19
- */
3
+     * Interface for managing user authentication
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   Auth
13
+     * @author    Thorsten Rinne <[email protected]>
14
+     * @author    Alberto Cabello <[email protected]>
15
+     * @copyright 2009-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     2009-03-01
19
+     */
20 20
 
21 21
 if (!defined('IS_VALID_PHPMYFAQ')) {
22 22
     exit();
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param  string $login Loginname
58 58
      * @param  string $pass  Password
59 59
      * @return boolean
60
-    */
60
+     */
61 61
     public function changePassword($login, $pass);
62 62
     
63 63
     /**
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Helper/Setup.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
- * Helper class for phpMyFAQ setup
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 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-02-15
18
- */
3
+     * Helper class for phpMyFAQ setup
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 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-02-15
18
+     */
19 19
 
20 20
 /**
21 21
  * PMF_Helper_Setup
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Helper/Linkverifier.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
- * Linkverifier 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   PMF_Helper
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-09-03
18
- */
3
+     * Linkverifier 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   PMF_Helper
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-09-03
18
+     */
19 19
 
20 20
 if (!defined('IS_VALID_PHPMYFAQ')) {
21 21
     exit();
Please login to merge, or discard this patch.