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 ( d94462...8231a2 )
by Thorsten
14:02
created
phpmyfaq/inc/PMF/Category.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -246,10 +246,10 @@  discard block
 block discarded – undo
246 246
         if ($result) {
247 247
             while ($row = $this->_config->getDb()->fetchArray($result)) {
248 248
                 $this->categoryName[$row['id']] = $row;
249
-                $this->categories[] =& $this->categoryName[$row['id']];
250
-                $this->children[$row['parent_id']][$row['id']] =& $this->categoryName[$row['id']];
251
-                $this->owner[$row['id']] =& $row['user_id'];
252
-                $this->moderators[$row['id']] =& $row['group_id'];
249
+                $this->categories[] = & $this->categoryName[$row['id']];
250
+                $this->children[$row['parent_id']][$row['id']] = & $this->categoryName[$row['id']];
251
+                $this->owner[$row['id']] = & $row['user_id'];
252
+                $this->moderators[$row['id']] = & $row['group_id'];
253 253
             }
254 254
         }
255 255
 
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
         $result = $this->_config->getDb()->query($query);
357 357
 
358 358
         while ($row = $this->_config->getDb()->fetchArray($result)) {
359
-            $categories[] = (int) $row['id'];
359
+            $categories[] = (int)$row['id'];
360 360
         }
361 361
 
362 362
         return $categories;
@@ -676,7 +676,7 @@  discard block
 block discarded – undo
676 676
         $open = 0;
677 677
         $this->expandAll();
678 678
 
679
-        for ($y = 0;$y < $this->height(); $y = $this->getNextLineTree($y)) {
679
+        for ($y = 0; $y < $this->height(); $y = $this->getNextLineTree($y)) {
680 680
             list($hasChild, $categoryName, $parent, $description) = $this->getLineDisplay($y);
681 681
             $level = $this->treeTab[$y]['level'];
682 682
             $levelDiff = $open - $level;
@@ -951,7 +951,7 @@  discard block
 block discarded – undo
951 951
         while ($row = $this->_config->getDb()->fetchObject($result)) {
952 952
             $categories[$row->category_id] = array(
953 953
                 'category_id' => $row->category_id,
954
-                'category_lang' => $row->category_lang, );
954
+                'category_lang' => $row->category_lang,);
955 955
         }
956 956
 
957 957
         return $categories;
@@ -1254,7 +1254,7 @@  discard block
 block discarded – undo
1254 1254
             array('faqcategories' => 'parent_id'),
1255 1255
             array('faqcategoryrelations' => 'category_id'),
1256 1256
             array('faqcategory_group' => 'category_id'),
1257
-            array('faqcategory_user' => 'category_id'), );
1257
+            array('faqcategory_user' => 'category_id'),);
1258 1258
 
1259 1259
         $result = true;
1260 1260
         foreach ($tables as $pair) {
@@ -1448,7 +1448,7 @@  discard block
 block discarded – undo
1448 1448
                 if ($lang == $selected_lang) {
1449 1449
                     $output .= ' selected="selected"';
1450 1450
                 }
1451
-                $output .=  '>'.$langname."</option>\n";
1451
+                $output .= '>'.$langname."</option>\n";
1452 1452
             }
1453 1453
         }
1454 1454
 
Please login to merge, or discard this patch.