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 ( 07962c...fdaa80 )
by Thorsten
20:03
created
phpmyfaq/config/constants.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -367,8 +367,8 @@
 block discarded – undo
367 367
 define('PMF_GET_KEY_NAME_LANGUAGE', 'lang');
368 368
 define('PMF_GET_KEY_NAME_SESSIONID', 'sid');
369 369
 // Misc parameters
370
-define('PMF_LANGUAGE_EXPIRED_TIME', 3600);      // 30 minutes
371
-define('PMF_SESSION_EXPIRED_TIME', 3600);       // 30 minutes
370
+define('PMF_LANGUAGE_EXPIRED_TIME', 3600); // 30 minutes
371
+define('PMF_SESSION_EXPIRED_TIME', 3600); // 30 minutes
372 372
 define('PMF_REMEMBERME_EXPIRED_TIME', 1209600); // 2 weeks
373 373
 
374 374
 //
Please login to merge, or discard this patch.
phpmyfaq/cron.verifyurls.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     foreach ($_records as $_r) {
94 94
         ++$i;
95 95
         $output = '';
96
-        $output .= sprintf('%0'.strlen((string) $tot).'d', $i).'/'.$tot.'. Checking '.$_r['solution_id'].' ('.PMF_Utils::makeShorterText(strip_tags($_r['title']), 8).'):';
96
+        $output .= sprintf('%0'.strlen((string)$tot).'d', $i).'/'.$tot.'. Checking '.$_r['solution_id'].' ('.PMF_Utils::makeShorterText(strip_tags($_r['title']), 8).'):';
97 97
         $start = microtime(true);
98 98
         if ($oLnk->getEntryState($_r['id'], $_r['lang'], true) === true) {
99 99
             $output .= $oLnk->verifyArticleURL($_r['content'], $_r['id'], $_r['lang'], true);
Please login to merge, or discard this patch.
phpmyfaq/glossary.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
 if (0 < $numItems) {
59 59
     $output = [];
60
-    $visibleItems = array_slice($glossaryItems, ($page - 1) * $itemsPerPage, $itemsPerPage);
60
+    $visibleItems = array_slice($glossaryItems, ($page - 1)*$itemsPerPage, $itemsPerPage);
61 61
 
62 62
     foreach ($visibleItems as $item) {
63 63
         $output['item'][] = $item['item'];
Please login to merge, or discard this patch.
phpmyfaq/inc/Bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 // We always need a valid session!
152 152
 //
153 153
 ini_set('session.use_only_cookies', 1); // Avoid any PHP version to move sessions on URLs
154
-ini_set('session.auto_start', 0);       // Prevent error to use session_start() if it's active in php.ini
154
+ini_set('session.auto_start', 0); // Prevent error to use session_start() if it's active in php.ini
155 155
 ini_set('session.use_trans_sid', 0);
156 156
 ini_set('url_rewriter.tags', '');
157 157
 
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
     $tmp = dirname(__DIR__).DIRECTORY_SEPARATOR.$confAttachmentsPath;
185 185
 
186 186
     // Check that nobody is traversing
187
-    if (0 === strpos((string) $tmp, dirname(__DIR__))) {
187
+    if (0 === strpos((string)$tmp, dirname(__DIR__))) {
188 188
         define('PMF_ATTACHMENTS_DIR', $tmp);
189 189
     } else {
190 190
         define('PMF_ATTACHMENTS_DIR', false);
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Attachment/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,10 +47,10 @@
 block discarded – undo
47 47
         $subDirNameLength = 5;
48 48
 
49 49
         for ($i = 0; $i < $subDirCount; ++$i) {
50
-            $retval .= DIRECTORY_SEPARATOR.substr($fsHash, $i * $subDirNameLength, $subDirNameLength);
50
+            $retval .= DIRECTORY_SEPARATOR.substr($fsHash, $i*$subDirNameLength, $subDirNameLength);
51 51
         }
52 52
 
53
-        $retval .= DIRECTORY_SEPARATOR.substr($fsHash, $i * $subDirNameLength);
53
+        $retval .= DIRECTORY_SEPARATOR.substr($fsHash, $i*$subDirNameLength);
54 54
 
55 55
         return $retval;
56 56
     }
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Attachment/Filesystem/File/Vanilla.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
          * If the target is a string or vanilla object, just move
76 76
          * it the simplest way we can. 
77 77
          */
78
-            $retval = $this->copyToSimple((string) $target);
78
+            $retval = $this->copyToSimple((string)$target);
79 79
         } else {
80 80
             $target->setMode(self::MODE_WRITE);
81 81
             while (!$this->eof()) {
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Auth.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $message = '';
130 130
 
131 131
         if (!is_array($this->errors)) {
132
-            $this->errors = array((string) $this->errors);
132
+            $this->errors = array((string)$this->errors);
133 133
         }
134 134
         foreach ($this->errors as $error) {
135 135
             $message .= $error."\n";
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         }
190 190
 
191 191
         $oldreadOnly = $this->readOnly;
192
-        $this->readOnly = (bool) $readOnly;
192
+        $this->readOnly = (bool)$readOnly;
193 193
 
194 194
         return $oldreadOnly;
195 195
     }
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Auth/Ldap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
                 }
216 216
 
217 217
                 if (false !== $this->ldap->getDn($login)) {
218
-                    $this->activeServer = (int) $key;
218
+                    $this->activeServer = (int)$key;
219 219
                     break;
220 220
                 }
221 221
             }
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
                 }
289 289
 
290 290
                 if (false !== $this->ldap->getDn($login)) {
291
-                    $this->activeServer = (int) $key;
291
+                    $this->activeServer = (int)$key;
292 292
                     break;
293 293
                 }
294 294
             }
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Captcha.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -479,8 +479,8 @@
 block discarded – undo
479 479
                %sfaqcaptcha 
480 480
            WHERE 
481 481
                id = '%s'",
482
-           PMF_Db::getTablePrefix(),
483
-           $this->code
482
+            PMF_Db::getTablePrefix(),
483
+            $this->code
484 484
         );
485 485
 
486 486
         $result = $this->_config->getDb()->query($select);
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
         $this->drawText();
210 210
         if (function_exists('imagejpeg')) {
211 211
             header('Content-Type: image/jpeg');
212
-            imagejpeg($this->img, null, (int) $this->quality);
212
+            imagejpeg($this->img, null, (int)$this->quality);
213 213
         } elseif (function_exists('imagegif')) {
214 214
             header('Content-Type: image/gif');
215 215
             imagegif($this->img);
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
         $w1 = 0;
318 318
         $w2 = 0;
319 319
 
320
-        for ($x = 0; $x < $this->width; $x += (int) $nextline) {
320
+        for ($x = 0; $x < $this->width; $x += (int)$nextline) {
321 321
             if ($x < $this->width) {
322 322
                 imageline($this->img, $x + $w1, 0, $x + $w2, $this->height - 1, rand($color1, $color2));
323 323
             }
@@ -348,18 +348,18 @@  discard block
 block discarded – undo
348 348
     {
349 349
         $len = PMF_String::strlen($this->code);
350 350
         $w1 = 15;
351
-        $w2 = $this->width / ($len + 1);
351
+        $w2 = $this->width/($len + 1);
352 352
 
353 353
         for ($p = 0; $p < $len; ++$p) {
354 354
             $letter = $this->code[$p];
355 355
             if (count($this->fonts) > 0) {
356 356
                 $font = $this->fonts[rand(0, count($this->fonts) - 1)];
357 357
             }
358
-            $size = rand(20, $this->height / 2.2);
358
+            $size = rand(20, $this->height/2.2);
359 359
             $rotation = rand(-23, 23);
360 360
             $y = rand($size + 3, $this->height - 5);
361 361
             // $w1 += rand(- $this->width / 90, $this->width / 40 );
362
-            $x = $w1 + $w2 * $p;
362
+            $x = $w1 + $w2*$p;
363 363
             $c1 = []; // fore char color
364 364
             $c2 = []; // back char color
365 365
             do {
@@ -373,28 +373,28 @@  discard block
 block discarded – undo
373 373
             } while ($c1['b'] == $this->_backgroundColor['b']);
374 374
             $c1 = imagecolorallocate($this->img, $c1['r'], $c1['g'], $c1['b']);
375 375
             do {
376
-                $c2['r'] = ($c1['r'] < 100 ? $c1['r'] * 2 : mt_rand(30, 199));
376
+                $c2['r'] = ($c1['r'] < 100 ? $c1['r']*2 : mt_rand(30, 199));
377 377
             } while (($c2['r'] == $this->_backgroundColor['r']) && ($c2['r'] == $c1['r']));
378 378
             do {
379
-                $c2['g'] = ($c1['g'] < 100 ? $c1['g'] * 2 : mt_rand(30, 199));
379
+                $c2['g'] = ($c1['g'] < 100 ? $c1['g']*2 : mt_rand(30, 199));
380 380
             } while (($c2['g'] == $this->_backgroundColor['g']) && ($c2['g'] == $c1['g']));
381 381
             do {
382
-                $c2['b'] = ($c1['b'] < 100 ? $c1['b'] * 2 : mt_rand(30, 199));
382
+                $c2['b'] = ($c1['b'] < 100 ? $c1['b']*2 : mt_rand(30, 199));
383 383
             } while (($c2['b'] == $this->_backgroundColor['b']) && ($c2['b'] == $c1['b']));
384 384
             $c2 = imagecolorallocate($this->img, $c2['r'], $c2['g'], $c2['b']);
385 385
             // Add the letter
386 386
             if (function_exists('imagettftext') && (count($this->fonts) > 0)) {
387
-                imagettftext($this->img, $size, $rotation, $x + 2, $y,     $c2, $font, $letter);
387
+                imagettftext($this->img, $size, $rotation, $x + 2, $y, $c2, $font, $letter);
388 388
                 imagettftext($this->img, $size, $rotation, $x + 1, $y + 1, $c2, $font, $letter);
389
-                imagettftext($this->img, $size, $rotation, $x,     $y - 2,   $c1, $font, $letter);
389
+                imagettftext($this->img, $size, $rotation, $x, $y - 2, $c1, $font, $letter);
390 390
             } else {
391 391
                 $size = 5;
392 392
                 $c3 = imagecolorallocate($this->img, 0, 0, 255);
393 393
                 $x = 20;
394 394
                 $y = 12;
395 395
                 $s = 30;
396
-                imagestring($this->img, $size, $x + 1 + ($s * $p), $y + 1, $letter, $c3);
397
-                imagestring($this->img, $size, $x + ($s * $p),     $y,   $letter, $c1);
396
+                imagestring($this->img, $size, $x + 1 + ($s*$p), $y + 1, $letter, $c3);
397
+                imagestring($this->img, $size, $x + ($s*$p), $y, $letter, $c1);
398 398
             }
399 399
         }
400 400
 
Please login to merge, or discard this patch.