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 ( b9ed1f...cd67fa )
by Thorsten
15:59
created
phpmyfaq/inc/PMF/Category.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -574,10 +574,10 @@  discard block
 block discarded – undo
574 574
     }
575 575
 
576 576
     /**
577
-    * print the static tree with the number of records
578
-    *
579
-    * @return string
580
-    */
577
+     * print the static tree with the number of records
578
+     *
579
+     * @return string
580
+     */
581 581
     public function viewTree()
582 582
     {
583 583
         global $sids, $PMF_LANG, $plr;
@@ -1225,7 +1225,7 @@  discard block
 block discarded – undo
1225 1225
             PMF_Db::getTablePrefix(),
1226 1226
             $category_id);
1227 1227
         if (!$delete_all) {
1228
-           $query .= " AND lang = '".$category_lang."'";
1228
+            $query .= " AND lang = '".$category_lang."'";
1229 1229
         }
1230 1230
         $this->_config->getDb()->query($query);
1231 1231
 
@@ -1249,7 +1249,7 @@  discard block
 block discarded – undo
1249 1249
             PMF_Db::getTablePrefix(),
1250 1250
             $category_id);
1251 1251
         if (!$delete_all) {
1252
-           $query .= " AND category_lang = '".$category_lang."'";
1252
+            $query .= " AND category_lang = '".$category_lang."'";
1253 1253
         }
1254 1254
         $this->_config->getDb()->query($query);
1255 1255
 
@@ -1273,7 +1273,7 @@  discard block
 block discarded – undo
1273 1273
         $translated   = array();
1274 1274
 
1275 1275
         foreach ($existcatlang as $language) {
1276
-           $query = sprintf("
1276
+            $query = sprintf("
1277 1277
                SELECT
1278 1278
                   name, description
1279 1279
                FROM
@@ -1282,13 +1282,13 @@  discard block
 block discarded – undo
1282 1282
                    id = %d
1283 1283
                AND
1284 1284
                    lang = '%s'",
1285
-               PMF_Db::getTablePrefix(),
1286
-               $category_id,
1287
-               $language);
1288
-           $result = $this->_config->getDb()->query($query);
1289
-           if ($row = $this->_config->getDb()->fetchArray($result)) {
1290
-              $translated[$languageCodes[strtoupper($language)]] = $row['name'].('' == $row['description'] ? '' : '  ('.$row['description'].')');
1291
-           }
1285
+                PMF_Db::getTablePrefix(),
1286
+                $category_id,
1287
+                $language);
1288
+            $result = $this->_config->getDb()->query($query);
1289
+            if ($row = $this->_config->getDb()->fetchArray($result)) {
1290
+                $translated[$languageCodes[strtoupper($language)]] = $row['name'].('' == $row['description'] ? '' : '  ('.$row['description'].')');
1291
+            }
1292 1292
         }
1293 1293
         ksort($translated);
1294 1294
 
@@ -1342,9 +1342,9 @@  discard block
 block discarded – undo
1342 1342
         $result = $this->_config->getDb()->query($query);
1343 1343
         while ($row = $this->_config->getDb()->fetchArray($result)) {
1344 1344
             if (!array_key_exists($row['id'],$this->categoryName)) {
1345
-               $this->categoryName[$row['id']] = $row;
1346
-               $this->categories[] =& $this->categoryName[$row['id']];
1347
-               $this->children[$row['parent_id']][$row['id']] =& $this->categoryName[$row['id']];
1345
+                $this->categoryName[$row['id']] = $row;
1346
+                $this->categories[] =& $this->categoryName[$row['id']];
1347
+                $this->children[$row['parent_id']][$row['id']] =& $this->categoryName[$row['id']];
1348 1348
             }
1349 1349
         }
1350 1350
     }
@@ -1540,8 +1540,8 @@  discard block
 block discarded – undo
1540 1540
                 fd.lang = fcr.category_lang
1541 1541
             ORDER BY
1542 1542
                 fcr.category_id, fd.id',
1543
-             PMF_Db::getTablePrefix(),
1544
-             PMF_Db::getTablePrefix());
1543
+                PMF_Db::getTablePrefix(),
1544
+                PMF_Db::getTablePrefix());
1545 1545
         $result = $this->_config->getDb()->query($query);
1546 1546
 
1547 1547
         if ($this->_config->getDb()->numRows($result) > 0) {
Please login to merge, or discard this patch.