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 ( b65f06...7866ec )
by Thorsten
14s
created
phpmyfaq/inc/PMF/Auth/Ldap.php 1 patch
Spacing   +3 added lines, -3 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
             }
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
             htmlspecialchars_decode($password)
252 252
         );
253 253
 
254
-        if (! $this->ldap->bind($bindLogin, htmlspecialchars_decode($password))) {
254
+        if (!$this->ldap->bind($bindLogin, htmlspecialchars_decode($password))) {
255 255
             $this->errors[] = $this->ldap->error;
256 256
 
257 257
             return false;
@@ -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/admin/record.comments.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,9 +71,9 @@
 block discarded – undo
71 71
                     </a> |
72 72
                     <?php echo $date->format(date('Y-m-d H:i', $faqcomment['date'])) ?> |
73 73
                     <a href="<?php printf('../?action=artikel&cat=%d&id=%d&artlang=%s',
74
-                       $faqcomment['category_id'],
75
-                       $faqcomment['record_id'],
76
-                       $LANGCODE) ?>">
74
+                        $faqcomment['category_id'],
75
+                        $faqcomment['record_id'],
76
+                        $LANGCODE) ?>">
77 77
                         <?php echo $faq->getRecordTitle($faqcomment['record_id']) ?>
78 78
                     </a>
79 79
                 </span><br/>
Please login to merge, or discard this patch.
phpmyfaq/admin/image.browser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 if (!is_dir(PMF_ROOT_DIR.'/images')) {
67 67
     echo '<p class="alert alert-danger">'.sprintf($PMF_LANG['ad_dir_missing'], '/images').'</p>';
68 68
 } else {
69
-    $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(PMF_ROOT_DIR . '/images/'));
69
+    $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(PMF_ROOT_DIR.'/images/'));
70 70
     foreach ($files as $file) {
71 71
         if ($file->isDir() || !in_array($file->getExtension(), $allowedExtensions)) {
72 72
             continue;
@@ -74,9 +74,9 @@  discard block
 block discarded – undo
74 74
         $path = str_replace(dirname(__DIR__).'/', '', $file->getPath());
75 75
         printf(
76 76
             '<div class="mce-file" data-src="%s"><img src="%s" class="mce-file-preview">%s</div>',
77
-            $faqConfig->getDefaultUrl() . $path . '/' . $file->getFilename(),
78
-            $faqConfig->getDefaultUrl() . $path . '/' . $file->getFilename(),
79
-            $path . '/' . $file->getFilename()
77
+            $faqConfig->getDefaultUrl().$path.'/'.$file->getFilename(),
78
+            $faqConfig->getDefaultUrl().$path.'/'.$file->getFilename(),
79
+            $path.'/'.$file->getFilename()
80 80
         );
81 81
     }
82 82
 }
Please login to merge, or discard this patch.
phpmyfaq/inc/PMF/Relation.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -73,21 +73,21 @@
 block discarded – undo
73 73
         $search
74 74
             ->setTable(PMF_Db::getTablePrefix().'faqdata AS fd')
75 75
             ->setResultColumns(
76
-               [
77
-                   'fd.id AS id',
78
-                   'fd.lang AS lang',
79
-                   'fcr.category_id AS category_id',
80
-                   'fd.thema AS question',
81
-                   'fd.content AS answer',
82
-                   'fd.keywords AS keywords'
83
-               ]
76
+                [
77
+                    'fd.id AS id',
78
+                    'fd.lang AS lang',
79
+                    'fcr.category_id AS category_id',
80
+                    'fd.thema AS question',
81
+                    'fd.content AS answer',
82
+                    'fd.keywords AS keywords'
83
+                ]
84 84
             )
85 85
             ->setJoinedTable(PMF_Db::getTablePrefix().'faqcategoryrelations AS fcr')
86 86
             ->setJoinedColumns(
87
-               [
87
+                [
88 88
                 'fd.id = fcr.record_id',
89 89
                 'fd.lang = fcr.record_lang',
90
-               ]
90
+                ]
91 91
             )
92 92
             ->setConditions(
93 93
                 [
Please login to merge, or discard this patch.
phpmyfaq/admin/trans.list.php 1 patch
Braces   +20 added lines, -8 removed lines patch added patch discarded remove patch
@@ -105,9 +105,12 @@  discard block
 block discarded – undo
105 105
                         <?php echo $PMF_LANG['msgEdit'] ?>
106 106
                     </a>
107 107
                 </td>
108
-                <?php else: ?>
108
+                <?php else {
109
+    : ?>
109 110
                 <td><?php echo $PMF_LANG['msgEdit'] ?></td>
110
-                <?php endif; ?>
111
+                <?php endif;
112
+}
113
+?>
111 114
                 <?php if ($user->perm->checkRight($user->getUserId(), 'deltranslation') && $showActions): ?>
112 115
                 <td>
113 116
                     <a class="btn btn-danger" href="javascript: del('<?php echo $lang ?>');" >
@@ -115,9 +118,12 @@  discard block
 block discarded – undo
115 118
                         <?php echo $PMF_LANG['msgDelete'] ?>
116 119
                     </a>
117 120
                 </td>
118
-                <?php else: ?>
121
+                <?php else {
122
+    : ?>
119 123
                 <td><?php echo $PMF_LANG['msgDelete'] ?></td>
120
-                <?php endif; ?>
124
+                <?php endif;
125
+}
126
+?>
121 127
                 <?php if ($user->perm->checkRight($user->getUserId(), 'edittranslation') && $showActions): ?>
122 128
                 <td>
123 129
                     <a class="btn btn-success" href="javascript: sendToTeam('<?php echo $lang ?>');" >
@@ -125,14 +131,20 @@  discard block
 block discarded – undo
125 131
                         <?php echo $PMF_LANG['msgTransToolSendToTeam'] ?>
126 132
                     </a>
127 133
                 </td>
128
-                <?php else: ?>
134
+                <?php else {
135
+    : ?>
129 136
                 <td><?php echo $PMF_LANG['msgTransToolSendToTeam'] ?></td>
130
-                <?php endif; ?>
137
+                <?php endif;
138
+}
139
+?>
131 140
                 <?php if ($isLangFileWritable): ?>
132 141
                 <td><i aria-hidden="true" class="fa fa-ok-circle"></i> <?php echo $PMF_LANG['msgYes'] ?></td>
133
-                <?php else: ?>
142
+                <?php else {
143
+    : ?>
134 144
                 <td><i aria-hidden="true" class="fa fa-ban-circle"></i> <?php echo $PMF_LANG['msgNo'] ?></td>
135
-                <?php endif; ?>
145
+                <?php endif;
146
+}
147
+?>
136 148
                 <td>
137 149
                     <?php echo $percents ?>%
138 150
                     <meter value="<?php echo $percents ?>" max="100" min="0" title="<?php echo $percents ?>%">
Please login to merge, or discard this patch.