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
Pull Request — master (#1301)
by
unknown
13:19
created
phpmyfaq/password.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 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
 
Please login to merge, or discard this patch.
phpmyfaq/config/constants_ldap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  */
20 20
 
21 21
 // Datamapping - in this example for an ADS
22
-$PMF_LDAP['ldap_mapping'] = array (
22
+$PMF_LDAP['ldap_mapping'] = array(
23 23
     'name'     => 'cn',
24 24
     'username' => 'samAccountName',
25 25
     'mail'     => 'mail'
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
 // LDAP-options to set
34 34
 // refer to the documentation of ldap_set_option() for information on available options
35
-$PMF_LDAP["ldap_options"] = array (
35
+$PMF_LDAP["ldap_options"] = array(
36 36
     'LDAP_OPT_PROTOCOL_VERSION' => 3,
37 37
     'LDAP_OPT_REFERRALS'        => 0
38 38
 );
Please login to merge, or discard this patch.
phpmyfaq/open.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@  discard block
 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
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     // @todo handle the exception
33 33
 }
34 34
 
35
-$tpl->parse (
35
+$tpl->parse(
36 36
     'writeContent',
37 37
     array(
38 38
         'msgOpenQuestions'   => $PMF_LANG['msgOpenQuestions'],
Please login to merge, or discard this patch.
phpmyfaq/register.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 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
 
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Auth/Sso.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      * @param string $pass  Password
63 63
      *
64 64
      * @return boolean
65
-    */
65
+     */
66 66
     public function changePassword($login, $pass)
67 67
     {
68 68
         return true;
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
@@ -57,7 +57,7 @@
 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/Stopwords.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     public function __construct(PMF_Configuration $config)
64 64
     {
65 65
         $this->_config    = $config;
66
-        $this->table_name = PMF_Db::getTablePrefix() . "faqstopwords";
66
+        $this->table_name = PMF_Db::getTablePrefix()."faqstopwords";
67 67
     }
68 68
     
69 69
     /**
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
         $retval = [];
207 207
         
208 208
         if ($wordsOnly) {
209
-            while(($row = $this->_config->getDb()->fetchObject($result)) == true) {
209
+            while (($row = $this->_config->getDb()->fetchObject($result)) == true) {
210 210
                 $retval[] = $row->stopword; 
211 211
             }
212 212
         } else {
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
     private function getBannedWords()
287 287
     {
288 288
         $bannedTrimmedWords = [];
289
-        $bannedWordsFile    = PMF_INCLUDE_DIR . '/blockedwords.txt';
289
+        $bannedWordsFile    = PMF_INCLUDE_DIR.'/blockedwords.txt';
290 290
         $bannedWords        = [];
291 291
 
292 292
         // Read the dictionary
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Services/Gravatar.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,18 +59,18 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function getImage($email, $params = [])
61 61
     {
62
-        $imageUrl = $this->getUrl() . 'avatar/' . $this->getHash($email);
62
+        $imageUrl = $this->getUrl().'avatar/'.$this->getHash($email);
63 63
 
64 64
         $opts = [];
65 65
 
66 66
         if (isset($params['default'])) {
67
-            $opts[] = 'default='. $params['default'];
67
+            $opts[] = 'default='.$params['default'];
68 68
         }
69 69
         if (isset($params['size'])) {
70
-            $opts[] = 'size='. $params['size'];
70
+            $opts[] = 'size='.$params['size'];
71 71
         }
72 72
         if (isset($params['rating'])) {
73
-            $opts[] = 'rating='. $params['rating'];
73
+            $opts[] = 'rating='.$params['rating'];
74 74
         }
75 75
         if (isset($params['force_default']) && $params['force_default'] === true) {
76 76
             $opts[] = 'forcedefault=y';
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             $params['class'] = '';
80 80
         }
81 81
 
82
-        $gravatar = $imageUrl . (sizeof($opts) > 0 ? '?' . implode($opts, '&') : false);
82
+        $gravatar = $imageUrl.(sizeof($opts) > 0 ? '?'.implode($opts, '&') : false);
83 83
 
84 84
         return sprintf(
85 85
             '<img src="%s" class="%s" alt="Gravatar">',
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Search/Database/Mysqli.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.