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 ( 57324c...7343d3 )
by Thorsten
13:59
created
phpmyfaq/inc/PMF/Category.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         'minus' => '-',
123 123
         'space' => ' ',
124 124
         'angle' => '-',
125
-        'medium' => '|-', );
125
+        'medium' => '|-',);
126 126
 
127 127
     /**
128 128
      * Constructor.
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
         $result = $this->_config->getDb()->query($query);
328 328
 
329 329
         while ($row = $this->_config->getDb()->fetchArray($result)) {
330
-            $categories[] = (int) $row['id'];
330
+            $categories[] = (int)$row['id'];
331 331
         }
332 332
 
333 333
         return $categories;
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
         $open = 0;
650 650
         $this->expandAll();
651 651
 
652
-        for ($y = 0;$y < $this->height(); $y = $this->getNextLineTree($y)) {
652
+        for ($y = 0; $y < $this->height(); $y = $this->getNextLineTree($y)) {
653 653
             list($hasChild, $categoryName, $parent, $description) = $this->getLineDisplay($y);
654 654
             $level = $this->treeTab[$y]['level'];
655 655
             $leveldiff = $open - $level;
@@ -925,7 +925,7 @@  discard block
 block discarded – undo
925 925
         while ($row = $this->_config->getDb()->fetchObject($result)) {
926 926
             $categories[$row->category_id] = array(
927 927
                 'category_id' => $row->category_id,
928
-                'category_lang' => $row->category_lang, );
928
+                'category_lang' => $row->category_lang,);
929 929
         }
930 930
 
931 931
         return $categories;
@@ -1221,7 +1221,7 @@  discard block
 block discarded – undo
1221 1221
             array('faqcategories' => 'parent_id'),
1222 1222
             array('faqcategoryrelations' => 'category_id'),
1223 1223
             array('faqcategory_group' => 'category_id'),
1224
-            array('faqcategory_user' => 'category_id'), );
1224
+            array('faqcategory_user' => 'category_id'),);
1225 1225
 
1226 1226
         $result = true;
1227 1227
         foreach ($tables as $pair) {
@@ -1415,7 +1415,7 @@  discard block
 block discarded – undo
1415 1415
                 if ($lang == $selected_lang) {
1416 1416
                     $output .= ' selected="selected"';
1417 1417
                 }
1418
-                $output .=  '>'.$langname."</option>\n";
1418
+                $output .= '>'.$langname."</option>\n";
1419 1419
             }
1420 1420
         }
1421 1421
 
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Search/Elasticsearch.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                             'bool' => [
92 92
                                 'must' => [
93 93
                                     [
94
-                                        'terms' => [ 'category_id' => $this->getCategoryIds() ]
94
+                                        'terms' => ['category_id' => $this->getCategoryIds()]
95 95
                                     ],
96 96
                                     $languageFilter
97 97
                                 ]
@@ -100,9 +100,9 @@  discard block
 block discarded – undo
100 100
                         'query' => [
101 101
                             'bool' => [
102 102
                                 'should' => [
103
-                                    [ 'match' => [ 'question' => $searchTerm ] ],
104
-                                    [ 'match' => [ 'answer' => $searchTerm ] ],
105
-                                    [ 'match' => [ 'keywords' => $searchTerm ] ]
103
+                                    ['match' => ['question' => $searchTerm]],
104
+                                    ['match' => ['answer' => $searchTerm]],
105
+                                    ['match' => ['keywords' => $searchTerm]]
106 106
                                 ]
107 107
                             ]
108 108
                         ]
Please login to merge, or discard this patch.