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 ( 731d0f...651d2c )
by Thorsten
29:16 queued 15:10
created
phpmyfaq/ask.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,10 +20,10 @@
 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
 
Please login to merge, or discard this patch.
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 1 patch
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.
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/Mail/IMUA.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
  * @license   http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
32 32
  * @link      http://www.phpmyfaq.de
33 33
  * @since     2009-09-11
34
-  */ 
34
+ */ 
35 35
 interface PMF_Mail_IMUA
36 36
 {
37 37
     /**
Please login to merge, or discard this patch.
phpmyfaq/admin/record.add.php 1 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.
phpmyfaq/inc/PMF/Auth/Driver.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      * @param  string $login Loginname
109 109
      * @param  string $pass  Password
110 110
      * @return boolean
111
-    */
111
+     */
112 112
     public function changePassword($login, $pass)
113 113
     {
114 114
         $change = sprintf("
Please login to merge, or discard this patch.